Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 92.41 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 183 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004549, allocations: 10.81 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2239, allocations: 47.58 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.1519/0.3758, allocations: 125.6 MB / 453.3 MB, free: 5.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.3771, allocations: 0.8145 MB / 454.1 MB, free: 4.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.3772, allocations: 4 kB / 454.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.3775, allocations: 23.89 kB / 454.1 MB, free: 4.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006156/0.3781, allocations: 203.4 kB / 454.3 MB, free: 4.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.3785, allocations: 107.7 kB / 454.4 MB, free: 4.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3788, allocations: 111.8 kB / 454.5 MB, free: 4.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.3788, allocations: 4 kB / 454.5 MB, free: 4.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.3791, allocations: 83.75 kB / 454.6 MB, free: 4.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3792, allocations: 43.83 kB / 454.6 MB, free: 4.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3793, allocations: 4 kB / 454.6 MB, free: 4.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006996/0.38, allocations: 287.7 kB / 454.9 MB, free: 3.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.38, allocations: 19.92 kB / 454.9 MB, free: 3.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.3801, allocations: 33.7 kB / 455 MB, free: 3.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.3804, allocations: 201 kB / 455.2 MB, free: 3.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.3805, allocations: 0 / 455.2 MB, free: 3.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3805, allocations: 0 / 455.2 MB, free: 3.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3805, allocations: 0 / 455.2 MB, free: 3.715 MB / 382.1 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.0005382/0.381, allocations: 383.2 kB / 455.5 MB, free: 3.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3811, allocations: 12.03 kB / 455.6 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.3832, allocations: 187.6 kB / 455.7 MB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.3835, allocations: 214.8 kB / 456 MB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3835, allocations: 7.938 kB / 456 MB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.3836, allocations: 12 kB / 456 MB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.3841, allocations: 224 kB / 456.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3841, allocations: 0 / 456.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.3841, allocations: 3.938 kB / 456.2 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3841, allocations: 7.953 kB / 456.2 MB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.3846, allocations: 171.8 kB / 456.4 MB, free: 2.414 MB / 382.1 MB 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.001049/0.3856, allocations: 0.5767 MB / 456.9 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.386, allocations: 134.5 kB / 457.1 MB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.386, allocations: 4 kB / 457.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.386, allocations: 38.55 kB / 457.1 MB, free: 1.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.386, allocations: 0 / 457.1 MB, free: 1.586 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005575/0.3916, allocations: 1.302 MB / 458.4 MB, free: 192 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.3917, allocations: 59.39 kB / 458.5 MB, free: 120 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2015/0.5932, allocations: 110 kB / 458.6 MB, free: 127.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.5933, allocations: 31.27 kB / 458.6 MB, free: 127.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.5934, allocations: 92.91 kB / 458.7 MB, free: 127.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.5935, allocations: 65.77 kB / 458.8 MB, free: 127.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.5935, allocations: 4.125 kB / 458.8 MB, free: 127.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.5936, allocations: 324.4 kB / 459.1 MB, free: 127.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.5938, allocations: 66.89 kB / 459.2 MB, free: 127.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.594, allocations: 103.4 kB / 459.3 MB, free: 127.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.5943, allocations: 80.69 kB / 459.3 MB, free: 127.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5943, allocations: 0.8125 kB / 459.3 MB, free: 127.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006527/0.5949, allocations: 258.7 kB / 459.6 MB, free: 127.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.595, allocations: 5.188 kB / 459.6 MB, free: 127.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.595, allocations: 1.875 kB / 459.6 MB, free: 127.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.5952, allocations: 53.33 kB / 459.7 MB, free: 127.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.5956, allocations: 51.45 kB / 459.7 MB, free: 127.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000399/0.596, allocations: 0.5722 MB / 460.3 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.5962, allocations: 6.375 kB / 460.3 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.5963, allocations: 26.86 kB / 460.3 MB, free: 126.8 MB / 382.1 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 () * Number of clocked 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.0001384/0.5964, allocations: 123.8 kB / 460.4 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.5965, allocations: 11.42 kB / 460.4 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.5976, allocations: 346.6 kB / 460.8 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.5976, allocations: 3.281 kB / 460.8 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5977, allocations: 1.062 kB / 460.8 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5977, allocations: 5.719 kB / 460.8 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.5989, allocations: 0.6205 MB / 461.4 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5989, allocations: 3.125 kB / 461.4 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.5993, allocations: 64.31 kB / 461.5 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.161e-05/0.5994, allocations: 27.2 kB / 461.5 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.5994, allocations: 17.45 kB / 461.5 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006319/0.6, allocations: 1.27 MB / 462.8 MB, free: 124.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6, allocations: 3.953 kB / 462.8 MB, free: 124.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.6007, allocations: 470.1 kB / 463.2 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.6007, allocations: 84.83 kB / 463.3 MB, free: 124.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.6007, allocations: 7.016 kB / 463.3 MB, free: 124.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.601, allocations: 15.03 kB / 463.4 MB, free: 124.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.601, allocations: 26.38 kB / 463.4 MB, free: 124.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.6011, allocations: 25.73 kB / 463.4 MB, free: 124.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.597e-05/0.6011, allocations: 88.28 kB / 463.5 MB, free: 124.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6011, allocations: 1.562 kB / 463.5 MB, free: 124.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.6016, allocations: 77.59 kB / 463.6 MB, free: 124.4 MB / 382.1 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 () * Number of clocked 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.0002985/0.6019, allocations: 156 kB / 463.7 MB, free: 124.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.6023, allocations: 192.1 kB / 463.9 MB, free: 124.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6024, allocations: 6.812 kB / 463.9 MB, free: 124.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.6027, allocations: 227.6 kB / 464.1 MB, free: 124.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.603, allocations: 40.27 kB / 464.2 MB, free: 124.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.6037, allocations: 0.5571 MB / 464.7 MB, free: 123.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.6038, allocations: 0.7215 MB / 465.5 MB, free: 122.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004167/0.6043, allocations: 81 kB / 465.5 MB, free: 122.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.6045, allocations: 59.89 kB / 465.6 MB, free: 122.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.6045, allocations: 0 / 465.6 MB, free: 122.9 MB / 382.1 MB Notification: Performance of Templates: time 0.008405/0.6129, allocations: 5.389 MB / 471 MB, free: 119.2 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) Environment - environmentSimulation: