Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001118/0.001118, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.571/1.571, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.00167/0.00167, allocations: 115.4 kB / 218 MB, free: 8.398 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.2223/0.2223, allocations: 37.99 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.55e-05/1.551e-05, allocations: 2.844 kB / 350 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 48.72 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.464/1.582, allocations: 448.9 MB / 0.8278 GB, free: 123.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.582, allocations: 63.97 kB / 0.8278 GB, free: 123.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07701/1.659, allocations: 29.26 MB / 0.8564 GB, free: 93.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.659, allocations: 4 kB / 0.8564 GB, free: 93.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/1.659, allocations: 4 kB / 0.8564 GB, free: 93.8 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005589/1.66, allocations: 383.2 kB / 0.8568 GB, free: 93.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.66, allocations: 12.03 kB / 0.8568 GB, free: 93.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/1.662, allocations: 180.2 kB / 0.857 GB, free: 93.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/1.662, allocations: 206.8 kB / 0.8572 GB, free: 92.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/1.662, allocations: 4 kB / 0.8572 GB, free: 92.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/1.662, allocations: 11.98 kB / 0.8572 GB, free: 92.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003056/1.662, allocations: 147.9 kB / 0.8573 GB, free: 92.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/1.662, allocations: 135.7 kB / 0.8575 GB, free: 92.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/1.662, allocations: 0 / 0.8575 GB, free: 92.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/1.663, allocations: 2.516 kB / 0.8575 GB, free: 92.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/1.663, allocations: 4 kB / 0.8575 GB, free: 92.64 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0009708/1.664, allocations: 0.5372 MB / 0.858 GB, free: 92.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/1.664, allocations: 122.5 kB / 0.8581 GB, free: 91.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/1.664, allocations: 64.78 kB / 0.8582 GB, free: 91.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/1.664, allocations: 4 kB / 0.8582 GB, free: 91.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/1.664, allocations: 39.09 kB / 0.8582 GB, free: 91.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.744e-06/1.664, allocations: 0 / 0.8582 GB, free: 91.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.003647/1.668, allocations: 0.8806 MB / 0.8591 GB, free: 90.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/1.668, allocations: 63.3 kB / 0.8591 GB, free: 90.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/1.668, allocations: 105 kB / 0.8592 GB, free: 90.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/1.668, allocations: 25.7 kB / 0.8592 GB, free: 90.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/1.668, allocations: 95.98 kB / 0.8593 GB, free: 90.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/1.668, allocations: 67 kB / 0.8594 GB, free: 90.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/1.668, allocations: 0 / 0.8594 GB, free: 90.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/1.668, allocations: 322.8 kB / 0.8597 GB, free: 90.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/1.668, allocations: 60 kB / 0.8598 GB, free: 90.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/1.668, allocations: 91.59 kB / 0.8599 GB, free: 89.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/1.668, allocations: 73.83 kB / 0.8599 GB, free: 89.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/1.668, allocations: 4 kB / 0.8599 GB, free: 89.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003222/1.669, allocations: 228.7 kB / 0.8601 GB, free: 89.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.669, allocations: 4 kB / 0.8602 GB, free: 89.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.669, allocations: 0 / 0.8602 GB, free: 89.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/1.669, allocations: 40.84 kB / 0.8602 GB, free: 89.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/1.669, allocations: 55.89 kB / 0.8602 GB, free: 89.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003461/1.669, allocations: 0.5758 MB / 0.8608 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/1.67, allocations: 7.938 kB / 0.8608 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/1.67, allocations: 24.2 kB / 0.8608 GB, free: 88.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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.0001035/1.67, allocations: 108.9 kB / 0.8609 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/1.67, allocations: 11.94 kB / 0.861 GB, free: 88.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006683/1.671, allocations: 334.9 kB / 0.8613 GB, free: 88.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.671, allocations: 0 / 0.8613 GB, free: 88.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.671, allocations: 4 kB / 0.8613 GB, free: 88.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.671, allocations: 0 / 0.8613 GB, free: 88.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/1.671, allocations: 0.5536 MB / 0.8618 GB, free: 87.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.671, allocations: 4 kB / 0.8618 GB, free: 87.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/1.672, allocations: 60.05 kB / 0.8619 GB, free: 87.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.547e-05/1.672, allocations: 20.84 kB / 0.8619 GB, free: 87.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/1.672, allocations: 8 kB / 0.8619 GB, free: 87.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006161/1.672, allocations: 1.229 MB / 0.8631 GB, free: 86.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.672, allocations: 0 / 0.8631 GB, free: 86.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/1.673, allocations: 440.2 kB / 0.8635 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/1.673, allocations: 88.95 kB / 0.8636 GB, free: 85.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/1.673, allocations: 4 kB / 0.8636 GB, free: 85.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/1.673, allocations: 8 kB / 0.8636 GB, free: 85.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/1.673, allocations: 19.97 kB / 0.8636 GB, free: 85.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/1.673, allocations: 32.05 kB / 0.8637 GB, free: 85.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/1.673, allocations: 91.27 kB / 0.8638 GB, free: 85.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.673, allocations: 0 / 0.8638 GB, free: 85.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005116/1.674, allocations: 103.9 kB / 0.8639 GB, free: 85.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/1.675, allocations: 0.6094 MB / 0.8645 GB, free: 84.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003921/1.675, allocations: 184 kB / 0.8646 GB, free: 84.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.675, allocations: 0 / 0.8646 GB, free: 84.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/1.675, allocations: 210 kB / 0.8648 GB, free: 84.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/1.676, allocations: 43.94 kB / 0.8649 GB, free: 84.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/1.676, allocations: 315.7 kB / 0.8652 GB, free: 84.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/1.677, allocations: 0.7085 MB / 0.8659 GB, free: 83.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004182/1.677, allocations: 73.17 kB / 0.8659 GB, free: 83.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/1.677, allocations: 55.41 kB / 0.866 GB, free: 83.35 MB / 426.7 MB Notification: Performance of SimCode: time 6.12e-07/1.677, allocations: 0 / 0.866 GB, free: 83.35 MB / 426.7 MB Notification: Performance of Templates: time 0.01208/1.689, allocations: 7.354 MB / 0.8732 GB, free: 76 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)