Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.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.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001007, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.0103/0.0103, allocations: 170 kB / 16.27 MB, free: 6.652 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.644/1.644, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6123/0.6123, allocations: 95.62 MB / 366.4 MB, free: 10.23 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.0005878/0.000588, allocations: 16 kB / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4417, allocations: 70.34 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated): time 0.6554/1.097, allocations: 177.8 MB / 0.6793 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004965/1.102, allocations: 3.12 MB / 0.6823 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/1.103, allocations: 4.656 kB / 0.6824 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/1.104, allocations: 218.5 kB / 0.6826 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/1.105, allocations: 407.1 kB / 0.6829 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004224/1.109, allocations: 1.218 MB / 0.6841 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00216/1.112, allocations: 1.704 MB / 0.6858 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/1.112, allocations: 127.5 kB / 0.6859 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/1.114, allocations: 0.7866 MB / 0.6867 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006123/1.115, allocations: 430.9 kB / 0.6871 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.704e-05/1.115, allocations: 24.94 kB / 0.6871 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/1.118, allocations: 1.432 MB / 0.6885 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/1.118, allocations: 205.8 kB / 0.6887 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004091/1.118, allocations: 298.8 kB / 0.689 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/1.121, allocations: 1.541 MB / 0.6905 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.121, allocations: 0 / 0.6905 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.405e-06/1.121, allocations: 0 / 0.6905 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.121, allocations: 0 / 0.6905 GB, free: 7.961 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001644/1.123, allocations: 0.7914 MB / 0.6913 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.123, allocations: 11.89 kB / 0.6913 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/1.123, allocations: 69.39 kB / 0.6914 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/1.124, allocations: 348.6 kB / 0.6917 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/1.124, allocations: 34.69 kB / 0.6917 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/1.124, allocations: 35.72 kB / 0.6918 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/1.125, allocations: 0.5378 MB / 0.6923 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.125, allocations: 0 / 0.6923 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/1.125, allocations: 16.59 kB / 0.6923 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/1.125, allocations: 10.88 kB / 0.6923 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008587/1.126, allocations: 0.5646 MB / 0.6929 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/1.13, allocations: 2.539 MB / 0.6953 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/1.13, allocations: 339.4 kB / 0.6957 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/1.131, allocations: 181.2 kB / 0.6958 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008557/1.132, allocations: 0.8814 MB / 0.6967 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/1.132, allocations: 41.5 kB / 0.6967 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/1.132, allocations: 0 / 0.6967 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.004453/1.136, allocations: 1.729 MB / 0.6984 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/1.136, allocations: 62.33 kB / 0.6985 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/1.137, allocations: 386 kB / 0.6989 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/1.137, allocations: 34.73 kB / 0.6989 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/1.137, allocations: 238.9 kB / 0.6991 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/1.137, allocations: 145.1 kB / 0.6993 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/1.137, allocations: 48.94 kB / 0.6993 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.137, allocations: 349.2 kB / 0.6996 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/1.138, allocations: 188.6 kB / 0.6998 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/1.138, allocations: 283.9 kB / 0.7001 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/1.139, allocations: 475 kB / 0.7005 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.139, allocations: 0 / 0.7005 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009314/1.14, allocations: 0.6103 MB / 0.7011 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.14, allocations: 4.562 kB / 0.7011 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.14, allocations: 3 kB / 0.7011 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/1.14, allocations: 49.06 kB / 0.7012 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/1.14, allocations: 133.7 kB / 0.7013 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/1.143, allocations: 2.618 MB / 0.7039 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/1.143, allocations: 50.41 kB / 0.7039 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/1.143, allocations: 16.97 kB / 0.7039 GB, free: 15.03 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (63): * Single equations (assignments): 61 * 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.0002956/1.144, allocations: 198.9 kB / 0.7041 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/1.144, allocations: 41.31 kB / 0.7042 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009264/1.145, allocations: 0.4956 MB / 0.7046 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.145, allocations: 4.938 kB / 0.7047 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.145, allocations: 7.922 kB / 0.7047 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006858/1.145, allocations: 0.6184 MB / 0.7053 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/1.148, allocations: 1.637 MB / 0.7069 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/1.148, allocations: 6.719 kB / 0.7069 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/1.148, allocations: 102.2 kB / 0.707 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.148, allocations: 4.688 kB / 0.707 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/1.148, allocations: 13 kB / 0.707 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.148, allocations: 5.062 kB / 0.707 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.148, allocations: 6.906 kB / 0.707 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/1.149, allocations: 0.7375 MB / 0.7077 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/1.149, allocations: 193.1 kB / 0.7079 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/1.149, allocations: 9.812 kB / 0.7079 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/1.15, allocations: 31.34 kB / 0.7079 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/1.15, allocations: 39.95 kB / 0.708 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/1.15, allocations: 25.02 kB / 0.708 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003227/1.15, allocations: 296 kB / 0.7083 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.15, allocations: 0 / 0.7083 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009949/1.151, allocations: 273.5 kB / 0.7085 GB, free: 12.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (volume.medium.Xi[1],volume.medium.T) * 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 (45): * Single equations (assignments): 45 * 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.0006578/1.152, allocations: 327.7 kB / 0.7089 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001013/1.153, allocations: 0.6471 MB / 0.7095 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.153, allocations: 2.094 kB / 0.7095 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/1.153, allocations: 195.5 kB / 0.7097 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.155, allocations: 268.5 kB / 0.7099 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/1.157, allocations: 1.279 MB / 0.7112 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/1.158, allocations: 0.8427 MB / 0.712 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006432/1.158, allocations: 123.5 kB / 0.7121 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.159, allocations: 48.72 kB / 0.7122 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/1.159, allocations: 0 / 0.7122 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.0208/1.179, allocations: 12.67 MB / 0.7245 GB, free: 148 kB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe 2>&1) Environment - environmentSimulation: