Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) 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(Buildings.Media.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008386/0.008386, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.00193/0.00193, allocations: 190.6 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5928/0.5928, allocations: 95.48 MB / 365.4 MB, free: 9.773 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 86.06 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1491, allocations: 69.08 MB / 0.5711 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirComparison): time 0.002363/0.1515, allocations: 1.417 MB / 0.5725 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5647/0.7162, allocations: 161.7 MB / 0.7303 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.7164, allocations: 4 kB / 0.7303 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.7165, allocations: 7.938 kB / 0.7303 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.7166, allocations: 11.86 kB / 0.7303 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.7188, allocations: 0.7487 MB / 0.7311 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.7189, allocations: 72.31 kB / 0.7311 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.719, allocations: 4 kB / 0.7311 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.719, allocations: 27.92 kB / 0.7312 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.7191, allocations: 35.89 kB / 0.7312 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.7191, allocations: 4 kB / 0.7312 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.7208, allocations: 0.9201 MB / 0.7321 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.7208, allocations: 23.91 kB / 0.7321 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.7209, allocations: 27.86 kB / 0.7322 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.722, allocations: 0.5731 MB / 0.7327 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.722, allocations: 0 / 0.7327 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.722, allocations: 0 / 0.7327 GB, free: 8.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.722, allocations: 0 / 0.7327 GB, free: 8.965 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006827/0.7227, allocations: 0.4911 MB / 0.7332 GB, free: 8.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7227, allocations: 15.98 kB / 0.7332 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.7228, allocations: 7.906 kB / 0.7332 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.7229, allocations: 171 kB / 0.7334 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.7229, allocations: 4 kB / 0.7334 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.723, allocations: 8 kB / 0.7334 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.7232, allocations: 110.5 kB / 0.7335 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7232, allocations: 0 / 0.7335 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.7232, allocations: 4 kB / 0.7335 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.7233, allocations: 11.94 kB / 0.7335 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.7234, allocations: 127.8 kB / 0.7336 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.724, allocations: 344.6 kB / 0.734 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.7243, allocations: 110.5 kB / 0.7341 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.7244, allocations: 40.84 kB / 0.7341 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004135/0.7248, allocations: 340.4 kB / 0.7344 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.035e-05/0.7249, allocations: 38.5 kB / 0.7345 GB, free: 6.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.7249, allocations: 0 / 0.7345 GB, free: 6.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003593/0.7253, allocations: 145.9 kB / 0.7346 GB, free: 6.781 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.7254, allocations: 55.39 kB / 0.7347 GB, free: 6.715 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.7255, allocations: 97.86 kB / 0.7348 GB, free: 6.609 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.7255, allocations: 29.7 kB / 0.7348 GB, free: 6.574 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.7256, allocations: 88.05 kB / 0.7349 GB, free: 6.484 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.7256, allocations: 55.28 kB / 0.7349 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.7257, allocations: 33.7 kB / 0.735 GB, free: 6.391 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.7259, allocations: 322.8 kB / 0.7353 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.81e-05/0.726, allocations: 27.98 kB / 0.7353 GB, free: 6.039 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.7262, allocations: 61.52 kB / 0.7353 GB, free: 5.973 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.7263, allocations: 95.97 kB / 0.7354 GB, free: 5.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.7263, allocations: 0 / 0.7354 GB, free: 5.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002372/0.7266, allocations: 133.7 kB / 0.7356 GB, free: 5.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7266, allocations: 4 kB / 0.7356 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7266, allocations: 0 / 0.7356 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7266, allocations: 4 kB / 0.7356 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.7269, allocations: 47.89 kB / 0.7356 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.7269, allocations: 0 / 0.7356 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.7269, allocations: 18.03 kB / 0.7356 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.727, allocations: 4 kB / 0.7356 GB, free: 5.664 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * 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.0001054/0.7271, allocations: 125.7 kB / 0.7358 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.7271, allocations: 11.91 kB / 0.7358 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.7275, allocations: 156.7 kB / 0.7359 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7275, allocations: 4 kB / 0.7359 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.7275, allocations: 0 / 0.7359 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7275, allocations: 0 / 0.7359 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.7277, allocations: 205.4 kB / 0.7361 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7278, allocations: 0 / 0.7361 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.728, allocations: 39.86 kB / 0.7362 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.728, allocations: 4 kB / 0.7362 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.728, allocations: 3.984 kB / 0.7362 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.728, allocations: 0 / 0.7362 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.728, allocations: 0 / 0.7362 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.7283, allocations: 231.3 kB / 0.7364 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.7284, allocations: 81.11 kB / 0.7365 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.7284, allocations: 4 kB / 0.7365 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.7285, allocations: 6.375 kB / 0.7365 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.7286, allocations: 11.98 kB / 0.7365 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.7286, allocations: 11.98 kB / 0.7365 GB, free: 4.695 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.7286, allocations: 79.28 kB / 0.7366 GB, free: 4.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7287, allocations: 4 kB / 0.7366 GB, free: 4.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006088/0.7293, allocations: 179.8 kB / 0.7367 GB, free: 4.438 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (16): * Single equations (assignments): 16 * 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.0009742/0.7302, allocations: 349.7 kB / 0.7371 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.7305, allocations: 87.89 kB / 0.7372 GB, free: 4.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7305, allocations: 3.938 kB / 0.7372 GB, free: 4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.7306, allocations: 55.84 kB / 0.7372 GB, free: 3.945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.7308, allocations: 12 kB / 0.7372 GB, free: 3.934 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.7313, allocations: 192.6 kB / 0.7374 GB, free: 3.715 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.7317, allocations: 0.6929 MB / 0.7381 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000111/0.7318, allocations: 32.61 kB / 0.7381 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.7318, allocations: 19.44 kB / 0.7381 GB, free: 2.945 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7318, allocations: 0 / 0.7381 GB, free: 2.945 MB / 0.545 GB Notification: Performance of Templates: time 0.007939/0.7398, allocations: 3.767 MB / 0.7418 GB, free: 15.19 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe 2>&1)