Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008294/0.0008295, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005773/0.005773, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.408/1.408, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004953/0.0004954, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2364, allocations: 47.59 MB / 327 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3817/0.6182, allocations: 146.7 MB / 473.7 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.6197, allocations: 1.514 MB / 475.2 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.6197, allocations: 3.938 kB / 475.2 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.6201, allocations: 51.02 kB / 475.3 MB, free: 15.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007217/0.6208, allocations: 348.6 kB / 475.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.6212, allocations: 154.3 kB / 475.8 MB, free: 15.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.6215, allocations: 250.5 kB / 476 MB, free: 15.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.6215, allocations: 8.406 kB / 476 MB, free: 15.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.6216, allocations: 70.31 kB / 476.1 MB, free: 15.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.6218, allocations: 62.09 kB / 476.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.6218, allocations: 6.719 kB / 476.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009309/0.6228, allocations: 0.6707 MB / 476.8 MB, free: 15.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.6228, allocations: 32.09 kB / 476.9 MB, free: 15.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.6229, allocations: 74.38 kB / 477 MB, free: 15.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.6234, allocations: 427.7 kB / 477.4 MB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6234, allocations: 0 / 477.4 MB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6234, allocations: 2.734 kB / 477.4 MB, free: 15.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.6234, allocations: 0 / 477.4 MB, free: 15.07 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005259/0.624, allocations: 409.3 kB / 477.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.624, allocations: 8.438 kB / 477.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.6262, allocations: 189.1 kB / 478 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.6265, allocations: 214.6 kB / 478.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.6265, allocations: 7.25 kB / 478.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.6265, allocations: 9.625 kB / 478.2 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.627, allocations: 207.5 kB / 478.4 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.627, allocations: 0 / 478.4 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.6271, allocations: 9.578 kB / 478.4 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6271, allocations: 3.25 kB / 478.4 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005317/0.6276, allocations: 240.6 kB / 478.6 MB, free: 14.42 MB / 398.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.001636/0.6292, allocations: 0.6763 MB / 479.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004134/0.6297, allocations: 182.6 kB / 479.5 MB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.6299, allocations: 92.56 kB / 479.6 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.6301, allocations: 94.77 kB / 479.7 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.6301, allocations: 37.12 kB / 479.7 MB, free: 13.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.6301, allocations: 0 / 479.7 MB, free: 13.87 MB / 398.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.005505/0.6356, allocations: 1.544 MB / 481.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.6357, allocations: 56.17 kB / 481.3 MB, free: 13.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.6357, allocations: 108.5 kB / 481.4 MB, free: 13.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.6358, allocations: 29.39 kB / 481.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.6358, allocations: 96.08 kB / 481.5 MB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.6359, allocations: 69.56 kB / 481.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.6359, allocations: 28.72 kB / 481.6 MB, free: 12.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.636, allocations: 323.6 kB / 482 MB, free: 12.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.6362, allocations: 95.72 kB / 482 MB, free: 12.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.6365, allocations: 119.1 kB / 482.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.6369, allocations: 223.6 kB / 482.4 MB, free: 12.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6369, allocations: 0 / 482.4 MB, free: 12.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000587/0.6375, allocations: 287.6 kB / 482.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.6375, allocations: 9.219 kB / 482.7 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6375, allocations: 2.438 kB / 482.7 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.6377, allocations: 26.16 kB / 482.7 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.6381, allocations: 52.59 kB / 482.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003558/0.6385, allocations: 0.539 MB / 483.3 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.6388, allocations: 17.19 kB / 483.3 MB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.6389, allocations: 8.531 kB / 483.3 MB, free: 11.9 MB / 398.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.639, allocations: 131.5 kB / 483.4 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.6391, allocations: 7.156 kB / 483.5 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007571/0.6398, allocations: 320.6 kB / 483.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6399, allocations: 5.641 kB / 483.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.6399, allocations: 3.938 kB / 483.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6399, allocations: 2.484 kB / 483.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.6411, allocations: 0.6712 MB / 484.4 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6411, allocations: 0 / 484.4 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.6416, allocations: 53.19 kB / 484.5 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.644e-05/0.6417, allocations: 17.59 kB / 484.5 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.6418, allocations: 15.41 kB / 484.5 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009109/0.6427, allocations: 1.263 MB / 485.8 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6427, allocations: 6.969 kB / 485.8 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.6435, allocations: 456.1 kB / 486.2 MB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.6436, allocations: 83.23 kB / 486.3 MB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.6436, allocations: 9.344 kB / 486.3 MB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.644, allocations: 17.56 kB / 486.4 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.644, allocations: 14.53 kB / 486.4 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.6441, allocations: 12.05 kB / 486.4 MB, free: 9.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.355e-05/0.6441, allocations: 93.56 kB / 486.5 MB, free: 9.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6442, allocations: 0 / 486.5 MB, free: 9.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000595/0.6448, allocations: 131.3 kB / 486.6 MB, free: 9.684 MB / 398.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007448/0.6455, allocations: 255.5 kB / 486.8 MB, free: 9.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006167/0.6461, allocations: 223.8 kB / 487.1 MB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6461, allocations: 0 / 487.1 MB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.6466, allocations: 234.1 kB / 487.3 MB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.647, allocations: 57.92 kB / 487.4 MB, free: 9.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.6479, allocations: 0.5776 MB / 487.9 MB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.6482, allocations: 0.7091 MB / 488.6 MB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.6486, allocations: 56.64 kB / 488.7 MB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.6487, allocations: 23.45 kB / 488.7 MB, free: 8.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6488, allocations: 0 / 488.7 MB, free: 8.34 MB / 398.1 MB Notification: Performance of Templates: time 0.01078/0.6595, allocations: 6.094 MB / 494.8 MB, free: 5.988 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)