Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.00148, allocations: 115.2 kB / 16.38 MB, free: 5.992 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.001398/0.001398, allocations: 185.6 kB / 17.31 MB, free: 5.609 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.512/1.512, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.895/1.895, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001889/0.001889, allocations: 71.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2968, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.5536/0.8504, allocations: 20.75 MB / 0.8051 GB, free: 37.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006656/0.8571, allocations: 4.912 MB / 0.8099 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007004/0.8578, allocations: 18.12 kB / 0.8099 GB, free: 34.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008672/0.8588, allocations: 279.1 kB / 0.8101 GB, free: 34.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.8612, allocations: 0.8083 MB / 0.8109 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.8641, allocations: 0.7188 MB / 0.8116 GB, free: 33.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002661/0.8668, allocations: 1.384 MB / 0.813 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008962/0.8677, allocations: 440.1 kB / 0.8134 GB, free: 32.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.869, allocations: 0.5735 MB / 0.814 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007623/0.8698, allocations: 442.2 kB / 0.8144 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-05/0.8699, allocations: 38.38 kB / 0.8144 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.8716, allocations: 0.6378 MB / 0.815 GB, free: 31.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.8718, allocations: 124.1 kB / 0.8152 GB, free: 31.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.8721, allocations: 286.4 kB / 0.8154 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.8737, allocations: 0.8504 MB / 0.8163 GB, free: 31.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8737, allocations: 0.7969 kB / 0.8163 GB, free: 31.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8737, allocations: 0 / 0.8163 GB, free: 31.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.8737, allocations: 0 / 0.8163 GB, free: 31.34 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001745/0.8755, allocations: 0.9247 MB / 0.8172 GB, free: 30.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.8756, allocations: 11.61 kB / 0.8172 GB, free: 30.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.8757, allocations: 63.5 kB / 0.8172 GB, free: 30.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.8764, allocations: 478 kB / 0.8177 GB, free: 30.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.8765, allocations: 25.97 kB / 0.8177 GB, free: 30.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.8765, allocations: 36.06 kB / 0.8178 GB, free: 30.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007397/0.8773, allocations: 309.4 kB / 0.8181 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.8773, allocations: 0 / 0.8181 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.8773, allocations: 10.09 kB / 0.8181 GB, free: 30.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.8774, allocations: 6.781 kB / 0.8181 GB, free: 30.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.8781, allocations: 263.6 kB / 0.8183 GB, free: 30.06 MB / 0.6544 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.00253/0.8807, allocations: 1.349 MB / 0.8196 GB, free: 29.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.8813, allocations: 254.2 kB / 0.8199 GB, free: 29.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.8816, allocations: 137.8 kB / 0.82 GB, free: 29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.882, allocations: 0.4984 MB / 0.8205 GB, free: 28.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.8821, allocations: 32.25 kB / 0.8205 GB, free: 28.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.265e-06/0.8821, allocations: 0 / 0.8205 GB, free: 28.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001953/0.884, allocations: 0.5647 MB / 0.8211 GB, free: 28.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.8841, allocations: 54.81 kB / 0.8211 GB, free: 28.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.8847, allocations: 469.3 kB / 0.8216 GB, free: 27.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.8847, allocations: 31.83 kB / 0.8216 GB, free: 27.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.8849, allocations: 246.8 kB / 0.8218 GB, free: 27.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.885, allocations: 83.89 kB / 0.8219 GB, free: 27.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.8851, allocations: 75.92 kB / 0.822 GB, free: 27.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8852, allocations: 356.6 kB / 0.8223 GB, free: 27.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.8856, allocations: 121.7 kB / 0.8225 GB, free: 27.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.886, allocations: 190.7 kB / 0.8226 GB, free: 27.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.8867, allocations: 263 kB / 0.8229 GB, free: 26.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8867, allocations: 4 kB / 0.8229 GB, free: 26.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001719/0.8884, allocations: 498.4 kB / 0.8234 GB, free: 26.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8884, allocations: 4.719 kB / 0.8234 GB, free: 26.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.8884, allocations: 3.766 kB / 0.8234 GB, free: 26.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/0.8889, allocations: 53.66 kB / 0.8234 GB, free: 26.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.8893, allocations: 67.23 kB / 0.8235 GB, free: 26.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003654/0.8897, allocations: 0.5618 MB / 0.824 GB, free: 26.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.8902, allocations: 52.62 kB / 0.8241 GB, free: 26.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.8902, allocations: 16.73 kB / 0.8241 GB, free: 26.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004509/0.8907, allocations: 240.4 kB / 0.8243 GB, free: 26.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003878/0.8911, allocations: 183 kB / 0.8245 GB, free: 25.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006173/0.8917, allocations: 263.9 kB / 0.8248 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.8917, allocations: 0.75 kB / 0.8248 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.000895/0.8926, allocations: 375.6 kB / 0.8251 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.8926, allocations: 7.484 kB / 0.8251 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.8927, allocations: 0 / 0.8251 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.8927, allocations: 3.609 kB / 0.8251 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.8931, allocations: 83.36 kB / 0.8252 GB, free: 25.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8931, allocations: 11.72 kB / 0.8252 GB, free: 25.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.8936, allocations: 42.45 kB / 0.8253 GB, free: 25.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.8936, allocations: 16.17 kB / 0.8253 GB, free: 25.66 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.8938, allocations: 198.6 kB / 0.8255 GB, free: 25.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/0.8938, allocations: 46.67 kB / 0.8255 GB, free: 25.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.8949, allocations: 432.3 kB / 0.8259 GB, free: 25.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.8949, allocations: 3.312 kB / 0.8259 GB, free: 25.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.8949, allocations: 0 / 0.8259 GB, free: 25.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.8951, allocations: 150.5 kB / 0.8261 GB, free: 25.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.8952, allocations: 5.531 kB / 0.8261 GB, free: 25.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.8955, allocations: 23.75 kB / 0.8261 GB, free: 25.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.8956, allocations: 15.98 kB / 0.8261 GB, free: 25.12 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001113/0.8967, allocations: 457.3 kB / 0.8265 GB, free: 24.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001216/0.8979, allocations: 0.6856 MB / 0.8272 GB, free: 24.52 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003561/0.8983, allocations: 137.1 kB / 0.8273 GB, free: 24.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005059/0.8988, allocations: 324.8 kB / 0.8277 GB, free: 24.33 MB / 0.6544 GB Notification: Performance of Backend: time 9.62e-07/0.8988, allocations: 1.156 kB / 0.8277 GB, free: 24.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.9011, allocations: 0.6096 MB / 0.8283 GB, free: 24.11 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002135/0.9033, allocations: 1.371 MB / 0.8296 GB, free: 23.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.02601/0.9293, allocations: 11.5 MB / 0.8408 GB, free: 21.21 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)