Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.007585/0.007585, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00182/0.001821, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.343/1.343, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001491/0.001491, allocations: 55.91 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08974, allocations: 46.61 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2233/0.3131, allocations: 26.58 MB / 399.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.3163, allocations: 2.237 MB / 402 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.3165, allocations: 1.062 kB / 402 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.3169, allocations: 59.23 kB / 402 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005163/0.3174, allocations: 157.7 kB / 402.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02108/0.3385, allocations: 6.154 MB / 408.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005486/0.3391, allocations: 312.4 kB / 408.6 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.3392, allocations: 16.64 kB / 408.7 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.3395, allocations: 137.8 kB / 408.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.3398, allocations: 115.6 kB / 408.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.3398, allocations: 10.94 kB / 408.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0203/0.3602, allocations: 9.394 MB / 418.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.3604, allocations: 67.84 kB / 418.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.3606, allocations: 91.59 kB / 418.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.3736, allocations: 4.679 MB / 423.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3737, allocations: 0 / 423.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3737, allocations: 0 / 423.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3737, allocations: 0 / 423.1 MB, free: 13.62 MB / 350.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.004047/0.3777, allocations: 1.116 MB / 424.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3778, allocations: 12.03 kB / 424.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.378, allocations: 24.75 kB / 424.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.3784, allocations: 218.8 kB / 424.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3784, allocations: 12.33 kB / 424.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.3785, allocations: 15.91 kB / 424.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.3793, allocations: 289.4 kB / 424.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3793, allocations: 6.484 kB / 424.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.3793, allocations: 8 kB / 424.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.3794, allocations: 4.875 kB / 424.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008095/0.3802, allocations: 315.6 kB / 425.1 MB, free: 11.52 MB / 350.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.001516/0.3817, allocations: 0.8204 MB / 426 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007855/0.3825, allocations: 254.2 kB / 426.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.3829, allocations: 134.9 kB / 426.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/0.3994, allocations: 12.85 MB / 439.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.3995, allocations: 42.5 kB / 439.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/0.3995, allocations: 3.938 kB / 439.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.003086/0.4026, allocations: 0.6811 MB / 439.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.4027, allocations: 89.05 kB / 440 MB, free: 10.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.4028, allocations: 126.2 kB / 440.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.4029, allocations: 29.7 kB / 440.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.403, allocations: 108.8 kB / 440.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.4031, allocations: 126.1 kB / 440.4 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.4032, allocations: 77.62 kB / 440.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4034, allocations: 326.8 kB / 440.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.4038, allocations: 138.7 kB / 440.9 MB, free: 9.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.4043, allocations: 211.6 kB / 441.1 MB, free: 8.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.4052, allocations: 356 kB / 441.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4053, allocations: 0 / 441.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001209/0.4065, allocations: 417.2 kB / 441.9 MB, free: 8.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.4065, allocations: 8 kB / 441.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4065, allocations: 4.219 kB / 441.9 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4065, allocations: 4 kB / 441.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.407, allocations: 95.8 kB / 442 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.4071, allocations: 9.266 kB / 442 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.4074, allocations: 23.98 kB / 442 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.4074, allocations: 19.98 kB / 442 MB, free: 7.883 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.4076, allocations: 141.7 kB / 442.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.4078, allocations: 15.81 kB / 442.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.4083, allocations: 200.8 kB / 442.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4083, allocations: 4 kB / 442.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4083, allocations: 11.94 kB / 442.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4083, allocations: 3.984 kB / 442.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.4101, allocations: 0.7646 MB / 443.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4101, allocations: 0 / 443.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.4105, allocations: 75.88 kB / 443.3 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.4105, allocations: 4.156 kB / 443.3 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.4106, allocations: 20 kB / 443.3 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4106, allocations: 3.938 kB / 443.3 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.4106, allocations: 8.859 kB / 443.3 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.4121, allocations: 0.6953 MB / 444 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.4123, allocations: 120.8 kB / 444.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.4124, allocations: 19.92 kB / 444.1 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.4127, allocations: 19.98 kB / 444.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.4128, allocations: 27.91 kB / 444.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.4128, allocations: 15.98 kB / 444.2 MB, free: 5.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.493e-05/0.4129, allocations: 107.4 kB / 444.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4129, allocations: 0 / 444.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00278/0.4157, allocations: 0.9253 MB / 445.2 MB, free: 4.574 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004587/0.4203, allocations: 1.258 MB / 446.5 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.4215, allocations: 344 kB / 446.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4215, allocations: 4 kB / 446.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.422, allocations: 183.5 kB / 447 MB, free: 2.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/0.4228, allocations: 95.53 kB / 447.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.4242, allocations: 0.5938 MB / 447.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.4245, allocations: 0.737 MB / 448.4 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003681/0.4249, allocations: 89.81 kB / 448.5 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.4251, allocations: 43.41 kB / 448.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4251, allocations: 0 / 448.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of Templates: time 0.0396/0.4647, allocations: 30.89 MB / 479.4 MB, free: 2.219 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)