Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009001/0.0009001, 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.0008998/0.0008999, 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.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.5665/0.5665, allocations: 95.57 MB / 366 MB, free: 10.39 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.0005896/0.00059, allocations: 27.98 kB / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2837, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir): time 0.4448/0.7285, allocations: 144 MB / 0.6456 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.7317, allocations: 2.849 MB / 0.6484 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003869/0.7322, allocations: 5.594 kB / 0.6484 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.7328, allocations: 191 kB / 0.6486 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006373/0.7335, allocations: 281.8 kB / 0.6488 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.7358, allocations: 0.8142 MB / 0.6496 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009302/0.7367, allocations: 0.6298 MB / 0.6502 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.737, allocations: 106.2 kB / 0.6503 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.7386, allocations: 0.6238 MB / 0.6509 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005081/0.7391, allocations: 287.2 kB / 0.6512 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.7392, allocations: 30.94 kB / 0.6512 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.7409, allocations: 0.7509 MB / 0.652 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.7411, allocations: 188.9 kB / 0.6522 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.7413, allocations: 131.7 kB / 0.6523 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.7427, allocations: 0.9493 MB / 0.6532 GB, free: 1.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.7427, allocations: 0 / 0.6532 GB, free: 1.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.7427, allocations: 0 / 0.6532 GB, free: 1.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.7427, allocations: 0 / 0.6532 GB, free: 1.461 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.001515/0.7442, allocations: 0.7959 MB / 0.654 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.7443, allocations: 17.05 kB / 0.654 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.7446, allocations: 61.06 kB / 0.6541 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.745, allocations: 356.6 kB / 0.6544 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.7451, allocations: 30.44 kB / 0.6544 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.7451, allocations: 40.12 kB / 0.6545 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.7459, allocations: 0.5496 MB / 0.655 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.7459, allocations: 0 / 0.655 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.746, allocations: 18.69 kB / 0.655 GB, free: 16.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.746, allocations: 16.59 kB / 0.655 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007222/0.7467, allocations: 0.5748 MB / 0.6556 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.7498, allocations: 2.496 MB / 0.658 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008666/0.7507, allocations: 470.1 kB / 0.6585 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/0.7513, allocations: 0.6896 MB / 0.6592 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.7513, allocations: 41.94 kB / 0.6592 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.694e-06/0.7513, allocations: 0 / 0.6592 GB, free: 14.32 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.006934/0.7582, allocations: 2.6 MB / 0.6617 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.7583, allocations: 59.31 kB / 0.6618 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.7587, allocations: 375.4 kB / 0.6622 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.7587, allocations: 37.27 kB / 0.6622 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7589, allocations: 223.1 kB / 0.6624 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.414e-05/0.759, allocations: 158 kB / 0.6626 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.759, allocations: 12.56 kB / 0.6626 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7591, allocations: 351 kB / 0.6629 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.7594, allocations: 195.9 kB / 0.6631 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.7597, allocations: 285.5 kB / 0.6634 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.76, allocations: 236 kB / 0.6636 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.76, allocations: 1.969 kB / 0.6636 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008283/0.7609, allocations: 0.6191 MB / 0.6642 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7609, allocations: 6.125 kB / 0.6642 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.7609, allocations: 4.688 kB / 0.6642 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.761, allocations: 47.16 kB / 0.6642 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.7616, allocations: 127.7 kB / 0.6644 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.7636, allocations: 2.646 MB / 0.667 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.7642, allocations: 38.52 kB / 0.667 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.7643, allocations: 25.16 kB / 0.667 GB, free: 10.04 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (66): * Single equations (assignments): 64 * 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.0003003/0.7646, allocations: 191.2 kB / 0.6672 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.7647, allocations: 43.16 kB / 0.6672 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/0.7656, allocations: 0.5645 MB / 0.6678 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.7656, allocations: 5.344 kB / 0.6678 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.7657, allocations: 4 kB / 0.6678 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006774/0.7663, allocations: 0.6425 MB / 0.6684 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.7685, allocations: 1.599 MB / 0.67 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.7685, allocations: 1.938 kB / 0.67 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009001/0.7694, allocations: 176.3 kB / 0.6702 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.7694, allocations: 7.906 kB / 0.6702 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.7695, allocations: 13.75 kB / 0.6702 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003384/0.7698, allocations: 0.6034 MB / 0.6708 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7699, allocations: 3.312 kB / 0.6708 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.7709, allocations: 0.9573 MB / 0.6717 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.7712, allocations: 188.9 kB / 0.6719 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.7713, allocations: 13.28 kB / 0.6719 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.7718, allocations: 34.06 kB / 0.6719 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.7719, allocations: 42.95 kB / 0.672 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.7719, allocations: 28.84 kB / 0.672 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002669/0.7722, allocations: 270.5 kB / 0.6723 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7722, allocations: 0 / 0.6723 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009721/0.7732, allocations: 313 kB / 0.6726 GB, free: 7.344 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (volume.medium.Xi[1],volume.U) * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006618/0.7738, allocations: 352.2 kB / 0.6729 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009126/0.7748, allocations: 0.6646 MB / 0.6735 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7748, allocations: 2.844 kB / 0.6735 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009496/0.7757, allocations: 313 kB / 0.6738 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.777, allocations: 267.5 kB / 0.6741 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.7788, allocations: 1.251 MB / 0.6753 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.7793, allocations: 0.8555 MB / 0.6762 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006498/0.78, allocations: 122.6 kB / 0.6763 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.7801, allocations: 57.59 kB / 0.6763 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.7801, allocations: 0 / 0.6763 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.01907/0.7992, allocations: 13 MB / 0.689 GB, free: 15.68 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe 2>&1) Environment - environmentSimulation: