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.006656/0.006656, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001574/0.001574, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.681/1.681, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4762/0.4762, allocations: 95.49 MB / 365.4 MB, free: 12.14 MB / 318.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.001674/0.001674, allocations: 71.91 kB / 0.5037 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4841, allocations: 69.09 MB / 0.5711 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir): time 0.6776/1.162, allocations: 184.7 MB / 0.7515 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005815/1.168, allocations: 4.459 MB / 0.7559 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/1.168, allocations: 12.34 kB / 0.7559 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/1.169, allocations: 249.6 kB / 0.7561 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008646/1.17, allocations: 424 kB / 0.7565 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005837/1.176, allocations: 2.138 MB / 0.7586 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001619/1.178, allocations: 1.185 MB / 0.7598 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/1.178, allocations: 151 kB / 0.7599 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002522/1.18, allocations: 1.054 MB / 0.761 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/1.181, allocations: 427.4 kB / 0.7614 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/1.181, allocations: 65.89 kB / 0.7614 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/1.185, allocations: 2.216 MB / 0.7636 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/1.186, allocations: 237.7 kB / 0.7638 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003519/1.186, allocations: 325.8 kB / 0.7641 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003196/1.189, allocations: 2.108 MB / 0.7662 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.189, allocations: 0.875 kB / 0.7662 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/1.189, allocations: 0 / 0.7662 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.177e-06/1.189, allocations: 0 / 0.7662 GB, free: 1.566 MB / 0.5919 GB 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.001955/1.191, allocations: 1.059 MB / 0.7672 GB, free: 16.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.191, allocations: 12.64 kB / 0.7672 GB, free: 16.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/1.192, allocations: 69.47 kB / 0.7673 GB, free: 16.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/1.192, allocations: 356.4 kB / 0.7677 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/1.192, allocations: 31 kB / 0.7677 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/1.192, allocations: 45.16 kB / 0.7677 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008533/1.193, allocations: 0.5553 MB / 0.7683 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.193, allocations: 3.953 kB / 0.7683 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/1.193, allocations: 23.53 kB / 0.7683 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/1.193, allocations: 13.55 kB / 0.7683 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/1.194, allocations: 0.5746 MB / 0.7689 GB, free: 16.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/1.198, allocations: 2.502 MB / 0.7713 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/1.199, allocations: 455.3 kB / 0.7717 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/1.199, allocations: 228.1 kB / 0.772 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/1.199, allocations: 0.7076 MB / 0.7727 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.199, allocations: 41.25 kB / 0.7727 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=42): time 1.844e-06/1.2, allocations: 0.7812 kB / 0.7727 GB, free: 14.33 MB / 0.6075 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.007447/1.207, allocations: 2.541 MB / 0.7752 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/1.207, allocations: 55 kB / 0.7752 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/1.207, allocations: 379.9 kB / 0.7756 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/1.208, allocations: 37.17 kB / 0.7756 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/1.208, allocations: 228.5 kB / 0.7758 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/1.208, allocations: 173.1 kB / 0.776 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/1.208, allocations: 113.8 kB / 0.7761 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.208, allocations: 348.5 kB / 0.7764 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/1.209, allocations: 193.5 kB / 0.7766 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/1.209, allocations: 299.8 kB / 0.7769 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/1.21, allocations: 497.8 kB / 0.7774 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.21, allocations: 0.9688 kB / 0.7774 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009321/1.211, allocations: 0.6251 MB / 0.778 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.211, allocations: 5.031 kB / 0.778 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.211, allocations: 3.156 kB / 0.778 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/1.211, allocations: 44.91 kB / 0.7781 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/1.211, allocations: 126.6 kB / 0.7782 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/1.214, allocations: 2.838 MB / 0.7809 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/1.215, allocations: 10.22 kB / 0.781 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/1.215, allocations: 24.12 kB / 0.781 GB, free: 9.797 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003295/1.215, allocations: 196.9 kB / 0.7812 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.215, allocations: 51.47 kB / 0.7812 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/1.216, allocations: 0.555 MB / 0.7818 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.216, allocations: 10.36 kB / 0.7818 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/1.216, allocations: 0.9688 kB / 0.7818 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008964/1.217, allocations: 0.6396 MB / 0.7824 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/1.22, allocations: 1.619 MB / 0.784 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/1.22, allocations: 2.969 kB / 0.784 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009242/1.221, allocations: 175.5 kB / 0.7841 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/1.221, allocations: 6.609 kB / 0.7842 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/1.221, allocations: 18.23 kB / 0.7842 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000414/1.221, allocations: 0.5976 MB / 0.7848 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.221, allocations: 6.344 kB / 0.7848 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.222, allocations: 0.8153 MB / 0.7856 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/1.223, allocations: 177.4 kB / 0.7857 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.598e-05/1.223, allocations: 14.55 kB / 0.7857 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/1.223, allocations: 27.64 kB / 0.7858 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/1.223, allocations: 41.48 kB / 0.7858 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/1.223, allocations: 22.56 kB / 0.7858 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003855/1.224, allocations: 278.7 kB / 0.7861 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.224, allocations: 0 / 0.7861 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001835/1.226, allocations: 319.7 kB / 0.7864 GB, free: 7.324 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000936/1.227, allocations: 409.6 kB / 0.7868 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001066/1.228, allocations: 0.6896 MB / 0.7875 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.228, allocations: 3.312 kB / 0.7875 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009844/1.229, allocations: 298.9 kB / 0.7877 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.23, allocations: 295.8 kB / 0.788 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/1.232, allocations: 1.059 MB / 0.7891 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/1.233, allocations: 0.8394 MB / 0.7899 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005338/1.233, allocations: 125.5 kB / 0.79 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/1.233, allocations: 55.36 kB / 0.7901 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of SimCode: time 8.21e-07/1.233, allocations: 1.094 kB / 0.7901 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.02141/1.255, allocations: 14.75 MB / 0.8045 GB, free: 2.832 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.makefile (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)