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.5455/0.5455, allocations: 94.69 MB / 107.3 MB, free: 5.184 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.001179/0.001179, allocations: 175.1 kB / 130.7 MB, free: 7.562 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.725/1.725, allocations: 170.5 MB / 324.5 MB, free: 4.012 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.00175/0.00175, allocations: 112.8 kB / 386.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.399e-05/6.401e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6008/0.6009, allocations: 61.51 MB / 0.5054 GB, free: 49.71 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.485/2.086, allocations: 407 MB / 0.9028 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004162/2.087, allocations: 76.12 kB / 0.9029 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1917/2.278, allocations: 81.49 MB / 0.9825 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.686e-06/2.278, allocations: 3.938 kB / 0.9825 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.774e-05/2.279, allocations: 8 kB / 0.9825 GB, free: 115.9 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.001212/2.28, allocations: 0.5164 MB / 0.983 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/2.28, allocations: 12.03 kB / 0.983 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00045/2.28, allocations: 36.08 kB / 0.983 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/2.281, allocations: 282.5 kB / 0.9833 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/2.281, allocations: 12.56 kB / 0.9833 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/2.281, allocations: 24.52 kB / 0.9833 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/2.282, allocations: 305.4 kB / 0.9836 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/2.282, allocations: 4 kB / 0.9836 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/2.282, allocations: 8 kB / 0.9836 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/2.282, allocations: 8 kB / 0.9836 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/2.282, allocations: 177.6 kB / 0.9838 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/2.284, allocations: 1.728 MB / 0.9855 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/2.285, allocations: 138.5 kB / 0.9856 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/2.285, allocations: 75.31 kB / 0.9857 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/2.285, allocations: 178.1 kB / 0.9859 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/2.285, allocations: 34.56 kB / 0.9859 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/2.285, allocations: 0 / 0.9859 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0004622/2.285, allocations: 162.5 kB / 0.9861 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/2.285, allocations: 51.41 kB / 0.9861 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/2.286, allocations: 243.1 kB / 0.9863 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/2.286, allocations: 29.7 kB / 0.9864 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/2.286, allocations: 195.5 kB / 0.9865 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/2.286, allocations: 63.05 kB / 0.9866 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/2.286, allocations: 4 kB / 0.9866 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001061/2.286, allocations: 338.8 kB / 0.9869 GB, free: 111 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/2.286, allocations: 55.98 kB / 0.987 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/2.286, allocations: 170.5 kB / 0.9871 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/2.286, allocations: 84.38 kB / 0.9872 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/2.286, allocations: 4 kB / 0.9872 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004813/2.287, allocations: 295 kB / 0.9875 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/2.287, allocations: 8 kB / 0.9875 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/2.287, allocations: 4.5 kB / 0.9875 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/2.287, allocations: 28.84 kB / 0.9876 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/2.287, allocations: 63.91 kB / 0.9876 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009757/2.288, allocations: 1.284 MB / 0.9889 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/2.289, allocations: 47.52 kB / 0.9889 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/2.289, allocations: 12 kB / 0.9889 GB, free: 108.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 () * 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.0001075/2.289, allocations: 128.6 kB / 0.989 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/2.289, allocations: 23.72 kB / 0.9891 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/2.289, allocations: 184.4 kB / 0.9892 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/2.289, allocations: 4 kB / 0.9893 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/2.289, allocations: 0 / 0.9893 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002802/2.29, allocations: 457.4 kB / 0.9897 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009694/2.291, allocations: 0.6924 MB / 0.9904 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/2.291, allocations: 0 / 0.9904 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/2.291, allocations: 51.89 kB / 0.9904 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/2.291, allocations: 3.953 kB / 0.9904 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/2.291, allocations: 11.98 kB / 0.9904 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/2.291, allocations: 7.938 kB / 0.9904 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.291, allocations: 3.938 kB / 0.9904 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/2.291, allocations: 429.4 kB / 0.9908 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/2.292, allocations: 104.8 kB / 0.9909 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/2.292, allocations: 8 kB / 0.991 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/2.292, allocations: 19.97 kB / 0.991 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/2.292, allocations: 15.92 kB / 0.991 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/2.292, allocations: 11.98 kB / 0.991 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002099/2.292, allocations: 195.1 kB / 0.9912 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/2.292, allocations: 0 / 0.9912 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005376/2.293, allocations: 107.9 kB / 0.9913 GB, free: 106 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 () * 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.0003765/2.293, allocations: 143.9 kB / 0.9914 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004858/2.294, allocations: 273.1 kB / 0.9917 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/2.294, allocations: 4 kB / 0.9917 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/2.294, allocations: 57.23 kB / 0.9917 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009418/2.295, allocations: 151.5 kB / 0.9919 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/2.295, allocations: 406.4 kB / 0.9923 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/2.296, allocations: 0.7563 MB / 0.993 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002329/2.296, allocations: 58.66 kB / 0.9931 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/2.296, allocations: 31.44 kB / 0.9931 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/2.296, allocations: 3.938 kB / 0.9931 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.009789/2.306, allocations: 4.97 MB / 0.998 GB, free: 99.16 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)