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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5411/0.5411, allocations: 95.62 MB / 110.6 MB, free: 9.352 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001163/0.001163, allocations: 173.9 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.721/1.721, allocations: 170.7 MB / 328.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001644/0.001643, allocations: 103.4 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004146, allocations: 8 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1758, allocations: 61.54 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.353, allocations: 407.1 MB / 0.9095 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.354, allocations: 76.64 kB / 0.9096 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5627/1.916, allocations: 81.88 MB / 0.9895 GB, free: 161 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.226e-06/1.916, allocations: 192 / 0.9895 GB, free: 161 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.08e-05/1.916, allocations: 11.94 kB / 0.9895 GB, free: 161 MB / 0.5261 GB 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.0007833/1.917, allocations: 0.5417 MB / 0.9901 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.917, allocations: 11.98 kB / 0.9901 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/1.918, allocations: 47.61 kB / 0.9901 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/1.918, allocations: 271.1 kB / 0.9904 GB, free: 160 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/1.918, allocations: 16.56 kB / 0.9904 GB, free: 160 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/1.918, allocations: 27.91 kB / 0.9904 GB, free: 160 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/1.918, allocations: 309.4 kB / 0.9907 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.918, allocations: 7.938 kB / 0.9907 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/1.918, allocations: 12 kB / 0.9907 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.918, allocations: 4 kB / 0.9907 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/1.919, allocations: 185.5 kB / 0.9909 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/1.92, allocations: 1.72 MB / 0.9926 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/1.921, allocations: 138.5 kB / 0.9927 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/1.921, allocations: 170.2 kB / 0.9929 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/1.921, allocations: 42.52 kB / 0.9929 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/1.921, allocations: 0 / 0.9929 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0004971/1.921, allocations: 285 kB / 0.9932 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/1.921, allocations: 55.41 kB / 0.9932 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/1.922, allocations: 245.7 kB / 0.9935 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/1.922, allocations: 25.7 kB / 0.9935 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/1.922, allocations: 199.5 kB / 0.9937 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/1.922, allocations: 63.09 kB / 0.9938 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/1.922, allocations: 4 kB / 0.9938 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/1.922, allocations: 338.8 kB / 0.9941 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/1.922, allocations: 59.91 kB / 0.9941 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/1.922, allocations: 170.7 kB / 0.9943 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/1.922, allocations: 89.98 kB / 0.9944 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.922, allocations: 7.953 kB / 0.9944 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003817/1.923, allocations: 293.8 kB / 0.9947 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.923, allocations: 8 kB / 0.9947 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.923, allocations: 4 kB / 0.9947 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/1.923, allocations: 25.34 kB / 0.9947 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/1.923, allocations: 63.91 kB / 0.9948 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008203/1.924, allocations: 1.307 MB / 0.9961 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/1.924, allocations: 35.94 kB / 0.9961 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/1.924, allocations: 16 kB / 0.9961 GB, free: 153.7 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001337/1.924, allocations: 153.7 kB / 0.9962 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/1.924, allocations: 27.67 kB / 0.9963 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/1.925, allocations: 176.5 kB / 0.9964 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/1.925, allocations: 7.984 kB / 0.9965 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/1.925, allocations: 11.88 kB / 0.9965 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002707/1.925, allocations: 462 kB / 0.9969 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/1.926, allocations: 0.6887 MB / 0.9976 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.926, allocations: 4 kB / 0.9976 GB, free: 152 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/1.926, allocations: 43.91 kB / 0.9976 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.926, allocations: 4 kB / 0.9976 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/1.926, allocations: 8 kB / 0.9976 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.926, allocations: 0 / 0.9976 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.926, allocations: 4 kB / 0.9976 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/1.926, allocations: 441 kB / 0.9981 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/1.927, allocations: 108.8 kB / 0.9982 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/1.927, allocations: 0 / 0.9982 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/1.927, allocations: 15.94 kB / 0.9982 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/1.927, allocations: 23.94 kB / 0.9982 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/1.927, allocations: 7.984 kB / 0.9982 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001666/1.927, allocations: 202 kB / 0.9984 GB, free: 151 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.927, allocations: 0 / 0.9984 GB, free: 151 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004759/1.927, allocations: 99.84 kB / 0.9985 GB, free: 150.9 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/1.928, allocations: 158.2 kB / 0.9986 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004515/1.928, allocations: 274.8 kB / 0.9989 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.928, allocations: 0 / 0.9989 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/1.928, allocations: 59.84 kB / 0.999 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/1.929, allocations: 159 kB / 0.9991 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.93, allocations: 0.6832 MB / 0.9998 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/1.93, allocations: 0.7602 MB / 1.001 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002102/1.931, allocations: 50.94 kB / 1.001 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/1.931, allocations: 27.72 kB / 1.001 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/1.931, allocations: 0 / 1.001 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.009417/1.94, allocations: 4.927 MB / 1.005 GB, free: 143.8 MB / 0.5261 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)