Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.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.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 99.86 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.001584/0.001584, allocations: 177.3 kB / 15.94 MB, free: 224 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.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.684 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.5787/0.5787, allocations: 95.59 MB / 366 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.0006414/0.0006415, allocations: 15.98 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3074, allocations: 70.34 MB / 0.505 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAir): time 0.4146/0.722, allocations: 143.9 MB / 0.6456 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.725, allocations: 2.436 MB / 0.6479 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.7254, allocations: 5.312 kB / 0.6479 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.726, allocations: 193.7 kB / 0.6481 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.7266, allocations: 285.1 kB / 0.6484 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.729, allocations: 0.8133 MB / 0.6492 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008326/0.7299, allocations: 0.6396 MB / 0.6498 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.7301, allocations: 107.9 kB / 0.6499 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.732, allocations: 0.6835 MB / 0.6506 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005903/0.7326, allocations: 296.8 kB / 0.6509 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.7327, allocations: 26.81 kB / 0.6509 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.7344, allocations: 0.841 MB / 0.6517 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.7346, allocations: 192.7 kB / 0.6519 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.7348, allocations: 133 kB / 0.652 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.736, allocations: 0.9391 MB / 0.6529 GB, free: 1.562 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.7361, allocations: 0 / 0.6529 GB, free: 1.562 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.7361, allocations: 0.5 kB / 0.6529 GB, free: 1.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.7361, allocations: 0 / 0.6529 GB, free: 1.562 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001539/0.7376, allocations: 0.7888 MB / 0.6537 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.7377, allocations: 13.48 kB / 0.6537 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.738, allocations: 60.41 kB / 0.6538 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.7385, allocations: 354.4 kB / 0.6541 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.7385, allocations: 38.39 kB / 0.6542 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.7386, allocations: 49.38 kB / 0.6542 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.7393, allocations: 0.4973 MB / 0.6547 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.7394, allocations: 0 / 0.6547 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.7395, allocations: 19.81 kB / 0.6547 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.7395, allocations: 8.688 kB / 0.6547 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007595/0.7402, allocations: 0.5973 MB / 0.6553 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.743, allocations: 2.163 MB / 0.6574 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.744, allocations: 0.558 MB / 0.658 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004952/0.7445, allocations: 0.6954 MB / 0.6586 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.7446, allocations: 42.47 kB / 0.6587 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/0.7446, allocations: 2.812 kB / 0.6587 GB, free: 14.65 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T 2: volume.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=54): time 0.006603/0.7512, allocations: 2.83 MB / 0.6614 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.7513, allocations: 63.06 kB / 0.6615 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.7516, allocations: 312.4 kB / 0.6618 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.7517, allocations: 35.83 kB / 0.6618 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.7518, allocations: 197.5 kB / 0.662 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.7519, allocations: 182.6 kB / 0.6622 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.752, allocations: 12.64 kB / 0.6622 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7521, allocations: 342 kB / 0.6625 GB, free: 13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.7524, allocations: 198.7 kB / 0.6627 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.7527, allocations: 263.6 kB / 0.663 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.7531, allocations: 241.1 kB / 0.6632 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7531, allocations: 0 / 0.6632 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000842/0.7539, allocations: 0.6134 MB / 0.6638 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7539, allocations: 5.969 kB / 0.6638 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.754, allocations: 160 / 0.6638 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/0.7541, allocations: 50.22 kB / 0.6639 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.7546, allocations: 107 kB / 0.664 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.7564, allocations: 2.651 MB / 0.6666 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.7569, allocations: 33.44 kB / 0.6666 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.7569, allocations: 22.62 kB / 0.6666 GB, free: 10.33 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 (64): * Single equations (assignments): 62 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.7572, allocations: 196.8 kB / 0.6668 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/0.7573, allocations: 41.81 kB / 0.6668 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.7584, allocations: 0.6894 MB / 0.6675 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7584, allocations: 7.609 kB / 0.6675 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.7584, allocations: 0 / 0.6675 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000878/0.7593, allocations: 0.7651 MB / 0.6683 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.7617, allocations: 1.395 MB / 0.6696 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.7617, allocations: 1.969 kB / 0.6696 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.7621, allocations: 94.53 kB / 0.6697 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.7639, allocations: 370.6 kB / 0.6701 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.764, allocations: 14.67 kB / 0.6701 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005261/0.7645, allocations: 0.6643 MB / 0.6707 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7645, allocations: 1.969 kB / 0.6707 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.7665, allocations: 1.064 MB / 0.6718 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.7669, allocations: 185.5 kB / 0.6719 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.767, allocations: 12.88 kB / 0.672 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.7674, allocations: 38.95 kB / 0.672 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.7675, allocations: 32.23 kB / 0.672 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.7676, allocations: 29.23 kB / 0.6721 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002362/0.7678, allocations: 235.6 kB / 0.6723 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7678, allocations: 4 kB / 0.6723 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009283/0.7688, allocations: 295.3 kB / 0.6726 GB, free: 8.367 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.Xi[1],volume.U,volume.m) * 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 (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006918/0.7695, allocations: 330.3 kB / 0.6729 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.7705, allocations: 0.717 MB / 0.6736 GB, free: 8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7706, allocations: 0 / 0.6736 GB, free: 8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.771, allocations: 281.9 kB / 0.6738 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.7724, allocations: 282.1 kB / 0.6741 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.7744, allocations: 1.331 MB / 0.6754 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.7748, allocations: 0.8524 MB / 0.6763 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005362/0.7753, allocations: 126.3 kB / 0.6764 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.7755, allocations: 49.73 kB / 0.6764 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.7755, allocations: 4 kB / 0.6764 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.02005/0.7956, allocations: 13.75 MB / 0.6898 GB, free: 140 kB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe 2>&1) Environment - environmentSimulation: