Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.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.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 187.8 kB / 16.62 MB, free: 6.609 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.6413/0.6413, allocations: 95.49 MB / 365.3 MB, free: 9.785 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.00179/0.00179, allocations: 72.45 kB / 446.1 MB, free: 8.852 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3708, allocations: 69.08 MB / 0.5031 GB, free: 17.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck): time 0.002752/0.3736, allocations: 1.254 MB / 0.5043 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.6504/1.024, allocations: 155 MB / 0.6557 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/1.024, allocations: 0 / 0.6557 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/1.024, allocations: 3.938 kB / 0.6557 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/1.024, allocations: 2.578 kB / 0.6557 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/1.025, allocations: 91.02 kB / 0.6558 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.009e-05/1.025, allocations: 31.27 kB / 0.6558 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/1.025, allocations: 5.719 kB / 0.6558 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/1.025, allocations: 16.03 kB / 0.6558 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/1.025, allocations: 14.92 kB / 0.6558 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/1.025, allocations: 2.406 kB / 0.6558 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/1.025, allocations: 63.31 kB / 0.6559 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/1.025, allocations: 6.891 kB / 0.6559 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/1.025, allocations: 17.92 kB / 0.6559 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/1.025, allocations: 63.56 kB / 0.656 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.025, allocations: 0 / 0.656 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.025, allocations: 1.203 kB / 0.656 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.026, allocations: 0 / 0.656 GB, free: 13.65 MB / 0.4981 GB 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.000377/1.026, allocations: 348.8 kB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/1.026, allocations: 18.92 kB / 0.6563 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/1.026, allocations: 8.078 kB / 0.6563 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/1.026, allocations: 161.2 kB / 0.6565 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/1.026, allocations: 6.438 kB / 0.6565 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/1.026, allocations: 5.625 kB / 0.6565 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/1.026, allocations: 66.67 kB / 0.6566 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.026, allocations: 0 / 0.6566 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.026, allocations: 0 / 0.6566 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/1.026, allocations: 7.672 kB / 0.6566 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/1.026, allocations: 15.81 kB / 0.6566 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/1.027, allocations: 183.3 kB / 0.6568 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/1.027, allocations: 68.72 kB / 0.6568 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/1.027, allocations: 26.97 kB / 0.6569 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/1.027, allocations: 251.3 kB / 0.6571 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/1.027, allocations: 34.5 kB / 0.6571 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/1.027, allocations: 2.406 kB / 0.6571 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0008983/1.028, allocations: 0.6777 MB / 0.6578 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/1.028, allocations: 107.8 kB / 0.6579 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/1.028, allocations: 89.86 kB / 0.658 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/1.028, allocations: 33.08 kB / 0.658 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/1.028, allocations: 84.33 kB / 0.6581 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/1.028, allocations: 34.39 kB / 0.6581 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/1.028, allocations: 27.77 kB / 0.6581 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/1.028, allocations: 316.4 kB / 0.6584 GB, free: 11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/1.028, allocations: 17.08 kB / 0.6585 GB, free: 11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/1.028, allocations: 51.36 kB / 0.6585 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/1.029, allocations: 80.33 kB / 0.6586 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/1.029, allocations: 0 / 0.6586 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001282/1.029, allocations: 97.41 kB / 0.6587 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.029, allocations: 8.062 kB / 0.6587 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.029, allocations: 6.125 kB / 0.6587 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.029, allocations: 5.469 kB / 0.6587 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/1.029, allocations: 25.64 kB / 0.6587 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/1.029, allocations: 2.531 kB / 0.6587 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/1.029, allocations: 3.562 kB / 0.6587 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/1.029, allocations: 2.344 kB / 0.6587 GB, free: 10.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/1.029, allocations: 119.3 kB / 0.6588 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/1.029, allocations: 9.391 kB / 0.6589 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/1.029, allocations: 116.3 kB / 0.659 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.029, allocations: 0 / 0.659 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.029, allocations: 2.781 kB / 0.659 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.029, allocations: 0 / 0.659 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/1.029, allocations: 166.2 kB / 0.6591 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.029, allocations: 2.469 kB / 0.6591 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/1.029, allocations: 24.23 kB / 0.6592 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.029, allocations: 288 / 0.6592 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.029, allocations: 6.875 kB / 0.6592 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/1.029, allocations: 6.125 kB / 0.6592 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.029, allocations: 1.094 kB / 0.6592 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/1.03, allocations: 128.6 kB / 0.6593 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/1.03, allocations: 95.84 kB / 0.6594 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/1.03, allocations: 8.312 kB / 0.6594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/1.03, allocations: 5.969 kB / 0.6594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/1.03, allocations: 8.797 kB / 0.6594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/1.03, allocations: 8.766 kB / 0.6594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.74e-05/1.03, allocations: 78.72 kB / 0.6595 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/1.03, allocations: 1.094 kB / 0.6595 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002435/1.03, allocations: 28.19 kB / 0.6595 GB, free: 10.19 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 (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.0002147/1.03, allocations: 132.9 kB / 0.6596 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001672/1.031, allocations: 53.05 kB / 0.6597 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.031, allocations: 4.531 kB / 0.6597 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/1.031, allocations: 23.52 kB / 0.6597 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/1.031, allocations: 5.344 kB / 0.6597 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/1.031, allocations: 308.2 kB / 0.66 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/1.032, allocations: 0.6876 MB / 0.6607 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.744e-05/1.032, allocations: 11.23 kB / 0.6607 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/1.032, allocations: 12.22 kB / 0.6607 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/1.032, allocations: 0.5938 kB / 0.6607 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of Templates: time 0.003737/1.035, allocations: 0.9913 MB / 0.6617 GB, free: 8.973 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe 2>&1)