Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009576/0.0009577, allocations: 96.97 kB / 16.3 MB, free: 5.656 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.0009453/0.0009454, allocations: 182 kB / 17.19 MB, free: 5.59 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.326/1.326, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.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.0004206/0.0004207, allocations: 11.44 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08475, allocations: 47.57 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02562/0.1104, allocations: 22.07 MB / 349.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1128, allocations: 1.883 MB / 351.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.1129, allocations: 4 kB / 351.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1131, allocations: 47.72 kB / 351.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.1134, allocations: 111.7 kB / 351.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.1247, allocations: 4.438 MB / 356.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.125, allocations: 187.3 kB / 356.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.1251, allocations: 16.91 kB / 356.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.1253, allocations: 131.6 kB / 356.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1255, allocations: 83.72 kB / 356.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1255, allocations: 8 kB / 356.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.1396, allocations: 8.275 MB / 364.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1398, allocations: 63.84 kB / 365 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.1399, allocations: 61.58 kB / 365 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006027/0.146, allocations: 2.939 MB / 368 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.146, allocations: 4 kB / 368 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.146, allocations: 0 / 368 MB, free: 11.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.146, allocations: 0 / 368 MB, free: 11.69 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003106/0.1491, allocations: 1.061 MB / 369.1 MB, free: 10.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1492, allocations: 12.02 kB / 369.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.1493, allocations: 23.77 kB / 369.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1496, allocations: 206.9 kB / 369.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1496, allocations: 12.33 kB / 369.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.1496, allocations: 16 kB / 369.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.1503, allocations: 289.4 kB / 369.6 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1504, allocations: 3.906 kB / 369.6 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.1504, allocations: 7.938 kB / 369.6 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.1504, allocations: 8 kB / 369.6 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007505/0.1512, allocations: 311.7 kB / 369.9 MB, free: 9.656 MB / 318.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.001405/0.1526, allocations: 0.8399 MB / 370.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/0.1533, allocations: 241.2 kB / 371 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1573/0.3106, allocations: 12.91 MB / 383.9 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.3107, allocations: 37.34 kB / 383.9 MB, free: 45.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.885e-06/0.3107, allocations: 1.375 kB / 383.9 MB, free: 45.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.003001/0.3137, allocations: 0.6884 MB / 384.6 MB, free: 45.63 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3138, allocations: 87.44 kB / 384.7 MB, free: 45.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.3139, allocations: 123.6 kB / 384.8 MB, free: 45.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3139, allocations: 33.83 kB / 384.9 MB, free: 45.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.314, allocations: 109.3 kB / 385 MB, free: 45.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.314, allocations: 126.5 kB / 385.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.3141, allocations: 7.938 kB / 385.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.3141, allocations: 329.6 kB / 385.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.3145, allocations: 132 kB / 385.6 MB, free: 44.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.3151, allocations: 208.4 kB / 385.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.3155, allocations: 160.3 kB / 385.9 MB, free: 44.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3155, allocations: 1.281 kB / 385.9 MB, free: 44.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00112/0.3167, allocations: 412.3 kB / 386.3 MB, free: 44.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3167, allocations: 10.78 kB / 386.3 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3167, allocations: 1.062 kB / 386.3 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3167, allocations: 4.312 kB / 386.3 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.3172, allocations: 91.62 kB / 386.4 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3172, allocations: 8.078 kB / 386.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.3175, allocations: 28.3 kB / 386.5 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.3176, allocations: 22.48 kB / 386.5 MB, free: 44.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.3177, allocations: 146.6 kB / 386.6 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.3179, allocations: 20.36 kB / 386.6 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.3184, allocations: 187.5 kB / 386.8 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3184, allocations: 8.484 kB / 386.8 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3184, allocations: 0 / 386.8 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3184, allocations: 5.875 kB / 386.8 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3201, allocations: 0.7686 MB / 387.6 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3201, allocations: 2.344 kB / 387.6 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.3206, allocations: 76.25 kB / 387.7 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3206, allocations: 3.062 kB / 387.7 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.3206, allocations: 11.41 kB / 387.7 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3206, allocations: 4.578 kB / 387.7 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3206, allocations: 1.312 kB / 387.7 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3221, allocations: 0.7772 MB / 388.5 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3222, allocations: 129.2 kB / 388.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.3223, allocations: 7.688 kB / 388.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.3226, allocations: 23.77 kB / 388.6 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3227, allocations: 26.47 kB / 388.7 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.3227, allocations: 18.84 kB / 388.7 MB, free: 43.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.045e-05/0.3228, allocations: 103.9 kB / 388.8 MB, free: 43.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3228, allocations: 0 / 388.8 MB, free: 43.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002568/0.3254, allocations: 0.9237 MB / 389.7 MB, free: 43.53 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003422/0.3288, allocations: 1.196 MB / 390.9 MB, free: 43.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009716/0.3298, allocations: 339.5 kB / 391.2 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3298, allocations: 1.156 kB / 391.2 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.3303, allocations: 184 kB / 391.4 MB, free: 43.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.3309, allocations: 90.64 kB / 391.5 MB, free: 43.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.3321, allocations: 0.7038 MB / 392.2 MB, free: 42.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.3323, allocations: 0.7449 MB / 393 MB, free: 42.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.3327, allocations: 89.39 kB / 393 MB, free: 42.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.3328, allocations: 34.95 kB / 393.1 MB, free: 42.02 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3329, allocations: 0 / 393.1 MB, free: 42.02 MB / 318.1 MB Notification: Performance of Templates: time 0.03285/0.3657, allocations: 30.95 MB / 424 MB, free: 17.29 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) Environment - environmentSimulation: