Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 179 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 242.1 MB, free: 11.58 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 88.83 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.374/0.374, allocations: 44.16 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004406, allocations: 8 kB / 461.1 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4129, allocations: 61.88 MB / 0.5107 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.559, allocations: 0.5102 GB / 1.021 GB, free: 79.33 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.56, allocations: 95.94 kB / 1.021 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7605/2.32, allocations: 203 MB / 1.219 GB, free: 89.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/2.32, allocations: 0 / 1.219 GB, free: 89.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.262e-05/2.32, allocations: 19.94 kB / 1.219 GB, free: 89.42 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004214/2.324, allocations: 1.104 MB / 1.22 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/2.325, allocations: 15.97 kB / 1.22 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/2.326, allocations: 139.9 kB / 1.221 GB, free: 88.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/2.327, allocations: 0.557 MB / 1.221 GB, free: 87.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/2.327, allocations: 105.6 kB / 1.221 GB, free: 87.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/2.328, allocations: 51.91 kB / 1.221 GB, free: 87.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/2.329, allocations: 0.8191 MB / 1.222 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/2.329, allocations: 7.938 kB / 1.222 GB, free: 86.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/2.329, allocations: 27.94 kB / 1.222 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/2.329, allocations: 40.92 kB / 1.222 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/2.33, allocations: 0.6205 MB / 1.223 GB, free: 85.75 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00446/2.335, allocations: 3.937 MB / 1.227 GB, free: 81.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/2.335, allocations: 335.5 kB / 1.227 GB, free: 81.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/2.336, allocations: 165.4 kB / 1.227 GB, free: 81.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/2.336, allocations: 97.36 kB / 1.227 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/2.336, allocations: 38.84 kB / 1.227 GB, free: 80.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.296e-06/2.336, allocations: 3.938 kB / 1.227 GB, free: 80.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005573/2.342, allocations: 1.649 MB / 1.229 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/2.342, allocations: 136.5 kB / 1.229 GB, free: 79.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009274/2.343, allocations: 0.6055 MB / 1.229 GB, free: 78.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/2.343, allocations: 33.7 kB / 1.23 GB, free: 78.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/2.343, allocations: 366.8 kB / 1.23 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/2.343, allocations: 142.1 kB / 1.23 GB, free: 77.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/2.343, allocations: 16 kB / 1.23 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000179/2.343, allocations: 370.8 kB / 1.23 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/2.344, allocations: 197.8 kB / 1.231 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/2.344, allocations: 0.5164 MB / 1.231 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/2.345, allocations: 0.7372 MB / 1.232 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/2.346, allocations: 0 / 1.232 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001632/2.347, allocations: 0.8762 MB / 1.233 GB, free: 74.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/2.347, allocations: 12 kB / 1.233 GB, free: 74.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/2.347, allocations: 12.12 kB / 1.233 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/2.349, allocations: 312.5 kB / 1.233 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/2.349, allocations: 127.8 kB / 1.233 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/2.35, allocations: 0.9227 MB / 1.234 GB, free: 73.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/2.351, allocations: 51.89 kB / 1.234 GB, free: 73.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/2.351, allocations: 71.92 kB / 1.234 GB, free: 73.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004892/2.352, allocations: 245.5 kB / 1.234 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/2.352, allocations: 71.25 kB / 1.234 GB, free: 73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/2.354, allocations: 0.8538 MB / 1.235 GB, free: 72.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/2.354, allocations: 4 kB / 1.235 GB, free: 72.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/2.354, allocations: 3.938 kB / 1.235 GB, free: 72.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/2.354, allocations: 7.984 kB / 1.235 GB, free: 72.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/2.356, allocations: 1.438 MB / 1.237 GB, free: 70.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/2.356, allocations: 8.188 kB / 1.237 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008993/2.357, allocations: 203.8 kB / 1.237 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.248e-05/2.357, allocations: 32.75 kB / 1.237 GB, free: 70.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/2.357, allocations: 20 kB / 1.237 GB, free: 70.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/2.358, allocations: 2.68 MB / 1.24 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/2.358, allocations: 0 / 1.24 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/2.359, allocations: 0.815 MB / 1.24 GB, free: 66.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/2.36, allocations: 192.2 kB / 1.241 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/2.36, allocations: 12 kB / 1.241 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/2.36, allocations: 36.03 kB / 1.241 GB, free: 66.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/2.36, allocations: 39.89 kB / 1.241 GB, free: 66.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/2.36, allocations: 51.86 kB / 1.241 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004994/2.361, allocations: 423 kB / 1.241 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/2.361, allocations: 4 kB / 1.241 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001451/2.362, allocations: 331.8 kB / 1.241 GB, free: 65.4 MB / 0.5261 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001857/2.364, allocations: 0.9323 MB / 1.242 GB, free: 64.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001118/2.365, allocations: 0.5386 MB / 1.243 GB, free: 63.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/2.365, allocations: 0 / 1.243 GB, free: 63.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008764/2.366, allocations: 411.3 kB / 1.243 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/2.368, allocations: 340.8 kB / 1.244 GB, free: 63.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/2.37, allocations: 1.563 MB / 1.245 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/2.371, allocations: 0.93 MB / 1.246 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001246/2.372, allocations: 466.3 kB / 1.246 GB, free: 60.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/2.372, allocations: 103.4 kB / 1.246 GB, free: 60.06 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/2.372, allocations: 0 / 1.246 GB, free: 60.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.03679/2.409, allocations: 26.53 MB / 1.272 GB, free: 33.66 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)