Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001085/0.001085, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.209/1.209, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001603/0.001604, allocations: 103.5 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1699/0.1699, allocations: 38.01 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.723e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.201, allocations: 418.1 MB / 0.8045 GB, free: 169.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/1.202, allocations: 89.67 kB / 0.8046 GB, free: 169.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2488/1.45, allocations: 132.1 MB / 0.9336 GB, free: 36.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.664e-06/1.45, allocations: 8 kB / 0.9336 GB, free: 36.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.841e-05/1.45, allocations: 16 kB / 0.9337 GB, free: 36.16 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001565/1.452, allocations: 0.9002 MB / 0.9345 GB, free: 35.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.452, allocations: 8.031 kB / 0.9345 GB, free: 35.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/1.452, allocations: 91.05 kB / 0.9346 GB, free: 35.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/1.453, allocations: 0.5521 MB / 0.9352 GB, free: 34.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.258e-05/1.453, allocations: 100.4 kB / 0.9353 GB, free: 34.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.901e-05/1.453, allocations: 51.98 kB / 0.9353 GB, free: 34.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/1.454, allocations: 0.7847 MB / 0.9361 GB, free: 33.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/1.455, allocations: 4 kB / 0.9361 GB, free: 33.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/1.455, allocations: 23.98 kB / 0.9361 GB, free: 33.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.725e-05/1.455, allocations: 48.91 kB / 0.9362 GB, free: 33.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/1.455, allocations: 0.6245 MB / 0.9368 GB, free: 32.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/1.459, allocations: 3.628 MB / 0.9403 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/1.46, allocations: 384.2 kB / 0.9407 GB, free: 28.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/1.46, allocations: 201.5 kB / 0.9409 GB, free: 28.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001508/1.461, allocations: 1.644 MB / 0.9425 GB, free: 26.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/1.461, allocations: 42.56 kB / 0.9425 GB, free: 26.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 1.954e-06/1.461, allocations: 0 / 0.9425 GB, free: 26.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.002314/1.464, allocations: 1.293 MB / 0.9438 GB, free: 25.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/1.464, allocations: 136.5 kB / 0.9439 GB, free: 24.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/1.464, allocations: 0.4891 MB / 0.9444 GB, free: 24.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/1.464, allocations: 33.7 kB / 0.9444 GB, free: 24.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/1.464, allocations: 383.2 kB / 0.9448 GB, free: 24.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/1.465, allocations: 145.9 kB / 0.9449 GB, free: 23.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/1.465, allocations: 16 kB / 0.9449 GB, free: 23.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.465, allocations: 378.8 kB / 0.9453 GB, free: 23.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/1.465, allocations: 197.5 kB / 0.9455 GB, free: 23.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/1.465, allocations: 0.5216 MB / 0.946 GB, free: 22.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/1.466, allocations: 315.6 kB / 0.9463 GB, free: 22.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.466, allocations: 8 kB / 0.9463 GB, free: 22.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00124/1.467, allocations: 0.8764 MB / 0.9472 GB, free: 21.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.467, allocations: 11.94 kB / 0.9472 GB, free: 21.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.467, allocations: 12 kB / 0.9472 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/1.468, allocations: 254.2 kB / 0.9474 GB, free: 21.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/1.469, allocations: 135.7 kB / 0.9476 GB, free: 21.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006822/1.469, allocations: 0.8483 MB / 0.9484 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/1.47, allocations: 47.97 kB / 0.9484 GB, free: 20.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/1.47, allocations: 36 kB / 0.9485 GB, free: 20.06 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001285/1.47, allocations: 160.7 kB / 0.9486 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/1.47, allocations: 67.16 kB / 0.9487 GB, free: 19.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/1.471, allocations: 0.7167 MB / 0.9494 GB, free: 19.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.471, allocations: 11.95 kB / 0.9494 GB, free: 19.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.471, allocations: 0 / 0.9494 GB, free: 19.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.471, allocations: 0 / 0.9494 GB, free: 19.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/1.473, allocations: 1.33 MB / 0.9507 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.473, allocations: 11.94 kB / 0.9507 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000911/1.474, allocations: 203.9 kB / 0.9509 GB, free: 17.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-05/1.474, allocations: 20.84 kB / 0.9509 GB, free: 17.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/1.474, allocations: 12 kB / 0.9509 GB, free: 17.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/1.475, allocations: 2.672 MB / 0.9535 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.475, allocations: 0 / 0.9535 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000978/1.476, allocations: 1.007 MB / 0.9545 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/1.476, allocations: 196.2 kB / 0.9547 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/1.476, allocations: 12 kB / 0.9547 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/1.477, allocations: 31.88 kB / 0.9548 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/1.477, allocations: 39.95 kB / 0.9548 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/1.477, allocations: 19.98 kB / 0.9548 GB, free: 13.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003738/1.477, allocations: 395.2 kB / 0.9552 GB, free: 12.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.477, allocations: 0 / 0.9552 GB, free: 12.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008392/1.478, allocations: 231.9 kB / 0.9554 GB, free: 12.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005912/1.479, allocations: 356.2 kB / 0.9557 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009301/1.48, allocations: 0.5662 MB / 0.9563 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.48, allocations: 3.938 kB / 0.9563 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/1.48, allocations: 402.4 kB / 0.9567 GB, free: 11.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/1.482, allocations: 305 kB / 0.957 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/1.483, allocations: 0.9864 MB / 0.9579 GB, free: 9.777 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/1.483, allocations: 0.9424 MB / 0.9589 GB, free: 8.809 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005859/1.484, allocations: 205.8 kB / 0.9591 GB, free: 8.605 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/1.484, allocations: 63.42 kB / 0.9591 GB, free: 8.543 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/1.484, allocations: 0 / 0.9591 GB, free: 8.543 MB / 442.7 MB Notification: Performance of Templates: time 0.2644/1.749, allocations: 14.2 MB / 0.973 GB, free: 98.64 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)