Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Media.GasesConstantDensity.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000946/0.000946, 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.001059/0.001059, allocations: 193.8 kB / 16.13 MB, free: 6.656 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.499/1.499, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5962/0.5962, allocations: 95.46 MB / 364.8 MB, free: 10.11 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3625, allocations: 69.08 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir): time 0.6124/0.9749, allocations: 142.6 MB / 0.641 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.9783, allocations: 1.72 MB / 0.6427 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.9787, allocations: 6.656 kB / 0.6427 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007855/0.9795, allocations: 146.2 kB / 0.6428 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009411/0.9805, allocations: 303.1 kB / 0.6431 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.9819, allocations: 307.3 kB / 0.6434 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.9841, allocations: 1.245 MB / 0.6446 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.9844, allocations: 78.62 kB / 0.6447 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.9854, allocations: 304.8 kB / 0.645 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.986, allocations: 269 kB / 0.6452 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.9861, allocations: 19.94 kB / 0.6452 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.9866, allocations: 119.5 kB / 0.6453 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.9867, allocations: 73.58 kB / 0.6454 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.987, allocations: 162.2 kB / 0.6456 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007499/0.9877, allocations: 446.3 kB / 0.646 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.9878, allocations: 0.5625 kB / 0.646 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.9878, allocations: 0.6875 kB / 0.646 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.9878, allocations: 0 / 0.646 GB, free: 0.6719 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001443/0.9893, allocations: 0.5837 MB / 0.6466 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.842e-05/0.9893, allocations: 13.02 kB / 0.6466 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.9899, allocations: 42.81 kB / 0.6466 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006336/0.9906, allocations: 281 kB / 0.6469 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.9906, allocations: 20.97 kB / 0.6469 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.9907, allocations: 23.28 kB / 0.6469 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008867/0.9916, allocations: 314.3 kB / 0.6472 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.9917, allocations: 3.562 kB / 0.6472 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.9917, allocations: 10.91 kB / 0.6472 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.9918, allocations: 6.312 kB / 0.6473 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.9924, allocations: 187.1 kB / 0.6474 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.9949, allocations: 1.733 MB / 0.6491 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.9955, allocations: 153.9 kB / 0.6493 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.9956, allocations: 64.92 kB / 0.6493 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.9959, allocations: 168.4 kB / 0.6495 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.9959, allocations: 39.48 kB / 0.6495 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.835e-06/0.9959, allocations: 0 / 0.6495 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0007742/0.9967, allocations: 292 kB / 0.6498 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.9968, allocations: 58.62 kB / 0.6499 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.9972, allocations: 277.4 kB / 0.6501 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.9972, allocations: 27.83 kB / 0.6502 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.9974, allocations: 192.3 kB / 0.6503 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.9975, allocations: 53.7 kB / 0.6504 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.9976, allocations: 64.56 kB / 0.6505 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9978, allocations: 338 kB / 0.6508 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.9979, allocations: 66.42 kB / 0.6508 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.9982, allocations: 175.5 kB / 0.651 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.9987, allocations: 255.6 kB / 0.6513 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.9987, allocations: 4 kB / 0.6513 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006835/0.9994, allocations: 296.5 kB / 0.6515 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.9995, allocations: 6.844 kB / 0.6515 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.9995, allocations: 7.844 kB / 0.6516 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.9997, allocations: 24.11 kB / 0.6516 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/1, allocations: 65.89 kB / 0.6516 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/1.002, allocations: 1.299 MB / 0.6529 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/1.002, allocations: 42.03 kB / 0.6529 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/1.002, allocations: 18.39 kB / 0.653 GB, free: 11.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (35): * Single equations (assignments): 34 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000271/1.003, allocations: 141.6 kB / 0.6531 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/1.003, allocations: 24.69 kB / 0.6531 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/1.003, allocations: 187.6 kB / 0.6533 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.003, allocations: 2.5 kB / 0.6533 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.003, allocations: 7.938 kB / 0.6533 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004755/1.004, allocations: 466.6 kB / 0.6538 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/1.005, allocations: 0.6838 MB / 0.6544 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.005, allocations: 5.703 kB / 0.6544 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/1.005, allocations: 41.95 kB / 0.6545 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.005, allocations: 5.094 kB / 0.6545 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/1.005, allocations: 6.875 kB / 0.6545 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/1.005, allocations: 5.25 kB / 0.6545 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.226e-05/1.005, allocations: 5.766 kB / 0.6545 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/1.006, allocations: 353.6 kB / 0.6548 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/1.006, allocations: 111.2 kB / 0.6549 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/1.006, allocations: 6.25 kB / 0.6549 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/1.006, allocations: 10.56 kB / 0.655 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/1.006, allocations: 16.27 kB / 0.655 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/1.006, allocations: 14.78 kB / 0.655 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001865/1.007, allocations: 201.4 kB / 0.6552 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.007, allocations: 0 / 0.6552 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004902/1.007, allocations: 94.94 kB / 0.6553 GB, free: 10.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (volume.U) * 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 (16): * Single equations (assignments): 16 * 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.0002911/1.007, allocations: 142.1 kB / 0.6554 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004405/1.008, allocations: 281.5 kB / 0.6557 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.008, allocations: 0 / 0.6557 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/1.008, allocations: 59.59 kB / 0.6557 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009386/1.009, allocations: 157.4 kB / 0.6559 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/1.01, allocations: 0.6721 MB / 0.6565 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/1.01, allocations: 0.7541 MB / 0.6573 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002544/1.011, allocations: 47.95 kB / 0.6573 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/1.011, allocations: 29.12 kB / 0.6573 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/1.011, allocations: 0 / 0.6573 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.008465/1.019, allocations: 4.916 MB / 0.6621 GB, free: 8.527 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe 2>&1)