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.0009691/0.0009692, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001187/0.001187, allocations: 168.7 kB / 15.95 MB, free: 204 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.812/1.812, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.7075/0.7075, allocations: 95.62 MB / 366 MB, free: 10.36 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.000577/0.0005772, allocations: 16 kB / 446.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3732, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck): time 0.001195/0.3744, allocations: 0.9789 MB / 0.506 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5167/0.8912, allocations: 140.8 MB / 0.6435 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.8913, allocations: 4 kB / 0.6435 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.8913, allocations: 1.781 kB / 0.6435 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.8914, allocations: 5.594 kB / 0.6435 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.8917, allocations: 77.23 kB / 0.6436 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.8918, allocations: 22.61 kB / 0.6436 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.684e-05/0.8919, allocations: 1.5 kB / 0.6436 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.892, allocations: 21.81 kB / 0.6436 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.892, allocations: 13.58 kB / 0.6436 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.8921, allocations: 5.188 kB / 0.6436 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.8923, allocations: 54.33 kB / 0.6437 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.8923, allocations: 4.484 kB / 0.6437 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.8925, allocations: 32.67 kB / 0.6437 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.8926, allocations: 41.33 kB / 0.6438 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.8926, allocations: 4 kB / 0.6438 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8926, allocations: 1.781 kB / 0.6438 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8926, allocations: 0 / 0.6438 GB, free: 17.15 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.0003888/0.893, allocations: 336.8 kB / 0.6441 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.8931, allocations: 19.33 kB / 0.6441 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.8931, allocations: 2.406 kB / 0.6441 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.8933, allocations: 168.4 kB / 0.6443 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.8933, allocations: 1.594 kB / 0.6443 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.8933, allocations: 7.859 kB / 0.6443 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.8935, allocations: 67.23 kB / 0.6444 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.8935, allocations: 3.938 kB / 0.6444 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.8935, allocations: 7.094 kB / 0.6444 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.8935, allocations: 4 kB / 0.6444 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.338e-05/0.8936, allocations: 5.812 kB / 0.6444 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.8938, allocations: 185.3 kB / 0.6445 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/0.8939, allocations: 72.97 kB / 0.6446 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.8939, allocations: 23.02 kB / 0.6446 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.8942, allocations: 246 kB / 0.6449 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.8943, allocations: 34.81 kB / 0.6449 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.8943, allocations: 0 / 0.6449 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0009876/0.8953, allocations: 0.6716 MB / 0.6456 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.8954, allocations: 111.5 kB / 0.6457 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.8954, allocations: 98.17 kB / 0.6458 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.8955, allocations: 29.39 kB / 0.6458 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.8955, allocations: 83.58 kB / 0.6459 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.8955, allocations: 36.59 kB / 0.6459 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.8956, allocations: 0 / 0.6459 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8957, allocations: 320.3 kB / 0.6462 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.8957, allocations: 16.41 kB / 0.6462 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.8958, allocations: 57.88 kB / 0.6463 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.8958, allocations: 18.97 kB / 0.6463 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.8958, allocations: 0.8125 kB / 0.6463 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001614/0.896, allocations: 97.34 kB / 0.6464 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.896, allocations: 6.125 kB / 0.6464 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.896, allocations: 0.9688 kB / 0.6464 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8961, allocations: 6.766 kB / 0.6464 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.8962, allocations: 21.7 kB / 0.6464 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.8962, allocations: 8.594 kB / 0.6464 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.8962, allocations: 6.688 kB / 0.6464 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.8962, allocations: 7.359 kB / 0.6464 GB, free: 14.44 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 7.709e-05/0.8963, allocations: 123.1 kB / 0.6466 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.8963, allocations: 3.219 kB / 0.6466 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.8965, allocations: 108 kB / 0.6467 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8965, allocations: 2.062 kB / 0.6467 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8965, allocations: 0.875 kB / 0.6467 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.8966, allocations: 0.8125 kB / 0.6467 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.8967, allocations: 166.6 kB / 0.6468 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8967, allocations: 6.25 kB / 0.6468 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.8968, allocations: 20.67 kB / 0.6469 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8968, allocations: 3.219 kB / 0.6469 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.8969, allocations: 1.625 kB / 0.6469 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.8969, allocations: 1.781 kB / 0.6469 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8969, allocations: 5.156 kB / 0.6469 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.8971, allocations: 136.5 kB / 0.647 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.8972, allocations: 89.56 kB / 0.6471 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.8972, allocations: 2.125 kB / 0.6471 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.8973, allocations: 3.062 kB / 0.6471 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.8973, allocations: 11.28 kB / 0.6471 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.8973, allocations: 4.188 kB / 0.6471 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.8974, allocations: 79.3 kB / 0.6472 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8974, allocations: 0 / 0.6472 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000242/0.8976, allocations: 33.56 kB / 0.6472 GB, free: 13.81 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.0001707/0.8978, allocations: 128.4 kB / 0.6473 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.8979, allocations: 52.23 kB / 0.6474 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8979, allocations: 0.875 kB / 0.6474 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.898, allocations: 27.8 kB / 0.6474 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.8982, allocations: 12.11 kB / 0.6474 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.8987, allocations: 372.9 kB / 0.6478 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.899, allocations: 0.6899 MB / 0.6485 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.19e-05/0.8991, allocations: 12.56 kB / 0.6485 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.8991, allocations: 11.88 kB / 0.6485 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.8991, allocations: 0.9688 kB / 0.6485 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.003185/0.9023, allocations: 0.9487 MB / 0.6494 GB, free: 12.57 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: