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.007747/0.007747, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001735/0.001735, allocations: 196.7 kB / 16.67 MB, free: 5.977 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.39/1.39, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001129/0.001129, allocations: 50.72 kB / 326.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.106, allocations: 46.62 MB / 373.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03361/0.1397, allocations: 26.58 MB / 399.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.1426, allocations: 2.239 MB / 402 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1427, allocations: 0 / 402 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.1431, allocations: 63.64 kB / 402 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.1436, allocations: 147.2 kB / 402.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01694/0.1605, allocations: 6.158 MB / 408.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005273/0.1611, allocations: 318.8 kB / 408.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.1611, allocations: 13.12 kB / 408.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.1614, allocations: 135.6 kB / 408.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.1617, allocations: 119.6 kB / 408.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.1617, allocations: 12 kB / 408.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01785/0.1796, allocations: 9.393 MB / 418.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.1798, allocations: 67.78 kB / 418.4 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.18, allocations: 95.64 kB / 418.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.1923, allocations: 4.697 MB / 423.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1924, allocations: 0 / 423.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1924, allocations: 0 / 423.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1924, allocations: 0 / 423.2 MB, free: 15.26 MB / 366.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.003816/0.1962, allocations: 1.13 MB / 424.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1963, allocations: 12.03 kB / 424.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.1965, allocations: 32.53 kB / 424.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1968, allocations: 210.8 kB / 424.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1968, allocations: 12.33 kB / 424.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.1969, allocations: 20 kB / 424.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.1977, allocations: 285.3 kB / 424.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1978, allocations: 4 kB / 424.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.1978, allocations: 8 kB / 424.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.1978, allocations: 8 kB / 424.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008168/0.1987, allocations: 319.6 kB / 425.2 MB, free: 13.13 MB / 366.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.001534/0.2002, allocations: 0.8438 MB / 426 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.201, allocations: 249.1 kB / 426.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.2013, allocations: 129.6 kB / 426.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01619/0.2175, allocations: 12.84 MB / 439.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.747e-05/0.2176, allocations: 38.56 kB / 439.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.106e-06/0.2176, allocations: 0 / 439.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002993/0.2206, allocations: 0.7036 MB / 440 MB, free: 11.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2207, allocations: 81.11 kB / 440.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.2208, allocations: 125.8 kB / 440.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.2209, allocations: 33.7 kB / 440.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.221, allocations: 104.9 kB / 440.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2211, allocations: 130.9 kB / 440.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2212, allocations: 73.67 kB / 440.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2213, allocations: 334.8 kB / 440.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.2217, allocations: 131.9 kB / 441 MB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/0.2222, allocations: 211.5 kB / 441.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009181/0.2231, allocations: 359.4 kB / 441.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2231, allocations: 0 / 441.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001206/0.2243, allocations: 421.3 kB / 442 MB, free: 9.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2244, allocations: 4.219 kB / 442 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2244, allocations: 8 kB / 442 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.2244, allocations: 4 kB / 442 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.2249, allocations: 87.88 kB / 442.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.2249, allocations: 7.938 kB / 442.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.2252, allocations: 31.81 kB / 442.1 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.2253, allocations: 19.98 kB / 442.1 MB, free: 9.469 MB / 382.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.0001461/0.2254, allocations: 149.7 kB / 442.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.2256, allocations: 19.91 kB / 442.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.2261, allocations: 182.4 kB / 442.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.2261, allocations: 11.94 kB / 442.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2261, allocations: 4 kB / 442.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2261, allocations: 0 / 442.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.2278, allocations: 0.7713 MB / 443.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.2278, allocations: 4 kB / 443.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.2282, allocations: 79.88 kB / 443.3 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2283, allocations: 8.156 kB / 443.3 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.2283, allocations: 11.98 kB / 443.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.2283, allocations: 4 kB / 443.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.2283, allocations: 0 / 443.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.2298, allocations: 0.7103 MB / 444.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.23, allocations: 124.9 kB / 444.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.23, allocations: 8 kB / 444.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.2304, allocations: 15.98 kB / 444.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.2304, allocations: 31.84 kB / 444.2 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.2305, allocations: 19.98 kB / 444.3 MB, free: 7.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.245e-05/0.2306, allocations: 103.3 kB / 444.4 MB, free: 7.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2306, allocations: 0 / 444.4 MB, free: 7.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002582/0.2331, allocations: 0.9355 MB / 445.3 MB, free: 6.148 MB / 382.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.004708/0.2379, allocations: 1.272 MB / 446.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.2389, allocations: 348 kB / 446.9 MB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2389, allocations: 3.938 kB / 446.9 MB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.2394, allocations: 175.8 kB / 447.1 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.2401, allocations: 92.09 kB / 447.2 MB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2414, allocations: 0.5889 MB / 447.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.2417, allocations: 0.7371 MB / 448.5 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003511/0.2421, allocations: 97.8 kB / 448.6 MB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.2422, allocations: 31.42 kB / 448.6 MB, free: 2.738 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2422, allocations: 0 / 448.6 MB, free: 2.738 MB / 382.1 MB Notification: Performance of Templates: time 0.2335/0.4757, allocations: 30.89 MB / 479.5 MB, free: 56.3 MB / 382.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)