Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.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.MoistAirUnsaturatedDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001297/0.001297, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.5998/0.5998, allocations: 95.57 MB / 365.9 MB, free: 10.41 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.0009153/0.0009154, allocations: 16 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3026, allocations: 70.34 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck): time 0.0009835/0.3037, allocations: 0.9526 MB / 0.5059 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4219/0.7256, allocations: 131.6 MB / 0.6345 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.7257, allocations: 0 / 0.6345 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.7257, allocations: 1.172 kB / 0.6345 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.7257, allocations: 4.984 kB / 0.6345 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.7261, allocations: 76.27 kB / 0.6345 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.7261, allocations: 21.23 kB / 0.6346 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.7262, allocations: 8.109 kB / 0.6346 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.7262, allocations: 15.45 kB / 0.6346 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.7263, allocations: 18.14 kB / 0.6346 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.7263, allocations: 0 / 0.6346 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.7266, allocations: 105.1 kB / 0.6347 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.7267, allocations: 12.25 kB / 0.6347 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.7267, allocations: 29.8 kB / 0.6347 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.7268, allocations: 42.22 kB / 0.6348 GB, free: 1.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7268, allocations: 0 / 0.6348 GB, free: 1.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.7268, allocations: 0 / 0.6348 GB, free: 1.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.7268, allocations: 4 kB / 0.6348 GB, free: 1.816 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003771/0.7272, allocations: 342.5 kB / 0.6351 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.7273, allocations: 13.11 kB / 0.6351 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.7273, allocations: 9.984 kB / 0.6351 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.85e-05/0.7274, allocations: 159.6 kB / 0.6353 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.7274, allocations: 4.75 kB / 0.6353 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.7274, allocations: 8.812 kB / 0.6353 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.7276, allocations: 67.73 kB / 0.6354 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7276, allocations: 0.9688 kB / 0.6354 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.7276, allocations: 0.7188 kB / 0.6354 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7276, allocations: 0.75 kB / 0.6354 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.7276, allocations: 10.77 kB / 0.6354 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.7278, allocations: 187.1 kB / 0.6356 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.7279, allocations: 74.69 kB / 0.6356 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.7282, allocations: 243.3 kB / 0.6359 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.7282, allocations: 39.86 kB / 0.6359 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.7282, allocations: 4 kB / 0.6359 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000821/0.729, allocations: 0.6764 MB / 0.6366 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.7291, allocations: 110.2 kB / 0.6367 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.7292, allocations: 91.34 kB / 0.6368 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.7292, allocations: 31.52 kB / 0.6368 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.7292, allocations: 80.75 kB / 0.6369 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.7293, allocations: 33.98 kB / 0.6369 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.7293, allocations: 2.734 kB / 0.6369 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.7294, allocations: 321.8 kB / 0.6372 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.7294, allocations: 13.67 kB / 0.6372 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.7294, allocations: 59.41 kB / 0.6373 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.7295, allocations: 16.95 kB / 0.6373 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.7295, allocations: 1.188 kB / 0.6373 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000144/0.7296, allocations: 101.1 kB / 0.6374 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.7297, allocations: 5.922 kB / 0.6374 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7297, allocations: 2 kB / 0.6374 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.7297, allocations: 2.312 kB / 0.6374 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.7298, allocations: 19.52 kB / 0.6374 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.7298, allocations: 5.703 kB / 0.6374 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.7298, allocations: 1.531 kB / 0.6374 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.7298, allocations: 5.578 kB / 0.6374 GB, free: 15.14 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.09e-05/0.7299, allocations: 124.8 kB / 0.6376 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.73, allocations: 4.234 kB / 0.6376 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.7302, allocations: 101.1 kB / 0.6377 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.7302, allocations: 1.438 kB / 0.6377 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7302, allocations: 0.875 kB / 0.6377 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7302, allocations: 8.844 kB / 0.6377 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.7303, allocations: 168.2 kB / 0.6378 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7303, allocations: 0.9062 kB / 0.6378 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.7304, allocations: 32.34 kB / 0.6379 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7304, allocations: 2.969 kB / 0.6379 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.7304, allocations: 0 / 0.6379 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.7305, allocations: 2.219 kB / 0.6379 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7305, allocations: 3.234 kB / 0.6379 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.7306, allocations: 153 kB / 0.638 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.7307, allocations: 93.61 kB / 0.6381 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.7307, allocations: 7.516 kB / 0.6381 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.7308, allocations: 5.828 kB / 0.6381 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.7309, allocations: 9.656 kB / 0.6381 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.7309, allocations: 4.672 kB / 0.6381 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.7309, allocations: 80.31 kB / 0.6382 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7309, allocations: 0 / 0.6382 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002698/0.7312, allocations: 32.06 kB / 0.6382 GB, free: 14.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hAirSym,hSteSym,hLiqSym) * 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 (9): * Single equations (assignments): 9 * 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.000185/0.7314, allocations: 133 kB / 0.6384 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.7316, allocations: 50.17 kB / 0.6384 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7316, allocations: 1.125 kB / 0.6384 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.451e-05/0.7316, allocations: 27.77 kB / 0.6384 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.7317, allocations: 6.062 kB / 0.6384 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.7322, allocations: 372.1 kB / 0.6388 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.7324, allocations: 0.6918 MB / 0.6395 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.799e-05/0.7325, allocations: 11.61 kB / 0.6395 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.7325, allocations: 12.77 kB / 0.6395 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.7325, allocations: 4 kB / 0.6395 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.00321/0.7357, allocations: 0.9446 MB / 0.6404 GB, free: 13.25 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: