Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 193.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.3 MB / 0.5484 GB, free: 13.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.36 kB / 0.6708 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.281, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7337/1.015, allocations: 159.3 MB / 0.9382 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00286/1.018, allocations: 1.708 MB / 0.9399 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/1.018, allocations: 11.16 kB / 0.9399 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005675/1.019, allocations: 138.6 kB / 0.94 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/1.02, allocations: 494.3 kB / 0.9405 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/1.021, allocations: 371.8 kB / 0.9408 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001012/1.022, allocations: 0.7572 MB / 0.9416 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/1.023, allocations: 156.1 kB / 0.9417 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/1.023, allocations: 301.5 kB / 0.942 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/1.024, allocations: 157.8 kB / 0.9422 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/1.024, allocations: 7.875 kB / 0.9422 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/1.025, allocations: 0.7765 MB / 0.9429 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/1.025, allocations: 72.91 kB / 0.943 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/1.025, allocations: 116.6 kB / 0.9431 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007691/1.026, allocations: 0.5092 MB / 0.9436 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.026, allocations: 0 / 0.9436 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.72e-07/1.026, allocations: 4 kB / 0.9436 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.054e-06/1.026, allocations: 0 / 0.9436 GB, free: 5.598 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001165/1.027, allocations: 0.5844 MB / 0.9442 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.027, allocations: 15.23 kB / 0.9442 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/1.028, allocations: 55 kB / 0.9442 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/1.028, allocations: 293 kB / 0.9445 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/1.028, allocations: 9 kB / 0.9445 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/1.028, allocations: 13.16 kB / 0.9445 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/1.029, allocations: 197.7 kB / 0.9447 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.029, allocations: 3.609 kB / 0.9447 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/1.029, allocations: 6.781 kB / 0.9447 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.029, allocations: 2.812 kB / 0.9447 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/1.029, allocations: 124.1 kB / 0.9449 GB, free: 20.82 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.03, allocations: 0.7879 MB / 0.9456 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/1.03, allocations: 87.45 kB / 0.9457 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/1.03, allocations: 74.75 kB / 0.9458 GB, free: 20.26 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003555/1.031, allocations: 191.4 kB / 0.946 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/1.031, allocations: 33.06 kB / 0.946 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/1.031, allocations: 0 / 0.946 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006769/1.031, allocations: 221.3 kB / 0.9462 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/1.032, allocations: 57.12 kB / 0.9463 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/1.032, allocations: 272.5 kB / 0.9465 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/1.032, allocations: 26.48 kB / 0.9465 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/1.032, allocations: 145.2 kB / 0.9467 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/1.032, allocations: 36.39 kB / 0.9467 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/1.032, allocations: 28.56 kB / 0.9467 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.032, allocations: 333.5 kB / 0.9471 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/1.032, allocations: 47.42 kB / 0.9471 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/1.032, allocations: 98.62 kB / 0.9472 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/1.033, allocations: 122.6 kB / 0.9473 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.033, allocations: 0 / 0.9473 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003292/1.033, allocations: 156.3 kB / 0.9475 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.033, allocations: 6.312 kB / 0.9475 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/1.033, allocations: 2.953 kB / 0.9475 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.033, allocations: 9.141 kB / 0.9475 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/1.033, allocations: 21.38 kB / 0.9475 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.033, allocations: 1.812 kB / 0.9475 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/1.033, allocations: 26.7 kB / 0.9475 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/1.033, allocations: 9.828 kB / 0.9475 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000194/1.034, allocations: 147.2 kB / 0.9477 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001465/1.034, allocations: 86.61 kB / 0.9478 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002246/1.034, allocations: 124.4 kB / 0.9479 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/1.034, allocations: 0 / 0.9479 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003179/1.034, allocations: 161 kB / 0.948 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/1.034, allocations: 4.859 kB / 0.948 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/1.034, allocations: 4.641 kB / 0.9481 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/1.034, allocations: 4.5 kB / 0.9481 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/1.035, allocations: 20.36 kB / 0.9481 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/1.035, allocations: 7.188 kB / 0.9481 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/1.035, allocations: 15.11 kB / 0.9481 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/1.035, allocations: 9.078 kB / 0.9481 GB, free: 18.96 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.035, allocations: 183.4 kB / 0.9483 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/1.035, allocations: 27.27 kB / 0.9483 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/1.035, allocations: 160.2 kB / 0.9485 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.035, allocations: 9.078 kB / 0.9485 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.035, allocations: 0.75 kB / 0.9485 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.035, allocations: 0.7969 kB / 0.9485 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000867/1.036, allocations: 0.5859 MB / 0.949 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.036, allocations: 0 / 0.949 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/1.036, allocations: 24.34 kB / 0.9491 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/1.036, allocations: 8.625 kB / 0.9491 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/1.036, allocations: 6.062 kB / 0.9491 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/1.036, allocations: 3.5 kB / 0.9491 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.036, allocations: 3.719 kB / 0.9491 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/1.037, allocations: 299.7 kB / 0.9494 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/1.037, allocations: 114.2 kB / 0.9495 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/1.037, allocations: 7.656 kB / 0.9495 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/1.037, allocations: 17.47 kB / 0.9495 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/1.037, allocations: 18.89 kB / 0.9495 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/1.037, allocations: 5.297 kB / 0.9495 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002299/1.038, allocations: 195.9 kB / 0.9497 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.038, allocations: 0 / 0.9497 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000527/1.038, allocations: 97.61 kB / 0.9498 GB, free: 17.94 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004254/1.038, allocations: 165 kB / 0.95 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005188/1.039, allocations: 165.1 kB / 0.9501 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.039, allocations: 3.656 kB / 0.9501 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/1.039, allocations: 58.03 kB / 0.9502 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/1.04, allocations: 134.2 kB / 0.9503 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/1.041, allocations: 0.4902 MB / 0.9508 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/1.041, allocations: 0.7599 MB / 0.9515 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002321/1.041, allocations: 72.91 kB / 0.9516 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/1.041, allocations: 24.47 kB / 0.9516 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/1.041, allocations: 3 kB / 0.9516 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of Templates: time 0.00951/1.051, allocations: 4.277 MB / 0.9558 GB, free: 16.48 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)