Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007617/0.0007617, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008783/0.0008783, allocations: 172.7 kB / 15.95 MB, free: 208 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.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005532/0.0005533, allocations: 18.28 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2504, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5973/0.8477, allocations: 163.1 MB / 0.9466 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009111/0.8569, allocations: 7.274 MB / 0.9537 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007953/0.8578, allocations: 13.38 kB / 0.9537 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.8584, allocations: 166.4 kB / 0.9539 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.8613, allocations: 0.8895 MB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.8633, allocations: 0.5339 MB / 0.9552 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.8653, allocations: 1.306 MB / 0.9565 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/0.866, allocations: 313.8 kB / 0.9568 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.8679, allocations: 0.6888 MB / 0.9575 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007513/0.8687, allocations: 421.3 kB / 0.9579 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.8687, allocations: 23.41 kB / 0.9579 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.8704, allocations: 0.5261 MB / 0.9584 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.8706, allocations: 140.4 kB / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004989/0.8711, allocations: 112.7 kB / 0.9587 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008933/0.872, allocations: 0.5862 MB / 0.9592 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.872, allocations: 0 / 0.9592 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.156e-06/0.872, allocations: 0 / 0.9592 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.872, allocations: 5.438 kB / 0.9592 GB, free: 19.93 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001092/0.8731, allocations: 0.7245 MB / 0.96 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.8732, allocations: 13.09 kB / 0.96 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009001/0.8741, allocations: 147.9 kB / 0.9601 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.8747, allocations: 379.1 kB / 0.9605 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.8747, allocations: 31.34 kB / 0.9605 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.8748, allocations: 35.72 kB / 0.9605 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.8756, allocations: 453.7 kB / 0.961 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.8756, allocations: 0.9375 kB / 0.961 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.8756, allocations: 15.5 kB / 0.961 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.8756, allocations: 8.969 kB / 0.961 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000599/0.8762, allocations: 327.5 kB / 0.9613 GB, free: 18.98 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.8786, allocations: 2.024 MB / 0.9633 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.879, allocations: 241.3 kB / 0.9635 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.8793, allocations: 155.7 kB / 0.9637 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/0.88, allocations: 325.5 kB / 0.964 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.88, allocations: 36.75 kB / 0.964 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 2.023e-06/0.88, allocations: 0 / 0.964 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001091/0.8811, allocations: 468.9 kB / 0.9644 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.8812, allocations: 57.53 kB / 0.9645 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.8817, allocations: 395 kB / 0.9649 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.8817, allocations: 33.17 kB / 0.9649 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.8819, allocations: 228.3 kB / 0.9651 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.882, allocations: 81.33 kB / 0.9652 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.882, allocations: 6.375 kB / 0.9652 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.8822, allocations: 355.2 kB / 0.9656 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.8825, allocations: 112 kB / 0.9657 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.8828, allocations: 189.4 kB / 0.9658 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.883, allocations: 132.8 kB / 0.966 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.883, allocations: 1.125 kB / 0.966 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006497/0.8837, allocations: 374.2 kB / 0.9663 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.8837, allocations: 9.344 kB / 0.9663 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.8837, allocations: 2.75 kB / 0.9663 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8837, allocations: 2.484 kB / 0.9663 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.884, allocations: 65.44 kB / 0.9664 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.884, allocations: 3.156 kB / 0.9664 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.8843, allocations: 66.64 kB / 0.9665 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.8844, allocations: 11.94 kB / 0.9665 GB, free: 16.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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 0.0001848/0.8846, allocations: 164 kB / 0.9666 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.8846, allocations: 38.84 kB / 0.9667 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007244/0.8854, allocations: 379.4 kB / 0.967 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.8854, allocations: 8.688 kB / 0.967 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8854, allocations: 1.875 kB / 0.967 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8854, allocations: 0 / 0.967 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.8868, allocations: 0.95 MB / 0.968 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8868, allocations: 6.594 kB / 0.968 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.8871, allocations: 55.48 kB / 0.968 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.8871, allocations: 7.078 kB / 0.968 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.8871, allocations: 6.469 kB / 0.968 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.8871, allocations: 2.812 kB / 0.968 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.8871, allocations: 5.812 kB / 0.9681 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.888, allocations: 0.6484 MB / 0.9687 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.8882, allocations: 144.2 kB / 0.9688 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.8882, allocations: 11.3 kB / 0.9688 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.8885, allocations: 29.53 kB / 0.9689 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.8885, allocations: 23.77 kB / 0.9689 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.8886, allocations: 6.875 kB / 0.9689 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002784/0.8888, allocations: 278.8 kB / 0.9692 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8889, allocations: 0 / 0.9692 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005073/0.8894, allocations: 107.1 kB / 0.9693 GB, free: 15.25 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0004044/0.8898, allocations: 186.6 kB / 0.9694 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.8904, allocations: 298.3 kB / 0.9697 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8904, allocations: 0 / 0.9697 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.8906, allocations: 151.3 kB / 0.9699 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.8916, allocations: 211.8 kB / 0.9701 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.8929, allocations: 0.9487 MB / 0.971 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.8933, allocations: 0.8322 MB / 0.9718 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.8937, allocations: 95.73 kB / 0.9719 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.8938, allocations: 36.78 kB / 0.9719 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.8938, allocations: 0 / 0.9719 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.01125/0.905, allocations: 6.991 MB / 0.9788 GB, free: 11.51 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: