Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 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.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009367/0.0009367, allocations: 98.45 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.0009711/0.0009713, allocations: 177.3 kB / 15.94 MB, free: 228 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.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.6064/0.6064, allocations: 95.58 MB / 366 MB, free: 10.36 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.0005699/0.0005701, allocations: 20 kB / 446.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2997, allocations: 70.33 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4606/0.7603, allocations: 158.9 MB / 0.6602 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006225/0.7666, allocations: 5.494 MB / 0.6656 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000835/0.7675, allocations: 23.72 kB / 0.6656 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008697/0.7684, allocations: 270.8 kB / 0.6658 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.7709, allocations: 0.9769 MB / 0.6668 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.7735, allocations: 0.9422 MB / 0.6677 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.7746, allocations: 0.8652 MB / 0.6686 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.7752, allocations: 453.6 kB / 0.669 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009246/0.7762, allocations: 0.5496 MB / 0.6695 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009062/0.7771, allocations: 0.575 MB / 0.6701 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.515e-05/0.7772, allocations: 38.75 kB / 0.6701 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.7791, allocations: 0.8511 MB / 0.671 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.7794, allocations: 224.9 kB / 0.6712 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.7797, allocations: 169.2 kB / 0.6713 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.781, allocations: 1.049 MB / 0.6724 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.781, allocations: 0 / 0.6724 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.781, allocations: 0 / 0.6724 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.781, allocations: 0 / 0.6724 GB, free: 16.95 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001777/0.7828, allocations: 1.081 MB / 0.6734 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.7829, allocations: 14.89 kB / 0.6734 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.7832, allocations: 92.89 kB / 0.6735 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.7839, allocations: 476.7 kB / 0.674 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.784, allocations: 106.5 kB / 0.6741 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/0.7841, allocations: 57.38 kB / 0.6741 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009875/0.7851, allocations: 0.6133 MB / 0.6747 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.7851, allocations: 1.656 kB / 0.6747 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.7852, allocations: 26.48 kB / 0.6747 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.7852, allocations: 14.09 kB / 0.6748 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009134/0.7861, allocations: 0.6157 MB / 0.6754 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.7896, allocations: 2.555 MB / 0.6779 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.7902, allocations: 376.9 kB / 0.6782 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.7905, allocations: 131.1 kB / 0.6783 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.7905, allocations: 44.72 kB / 0.6784 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.314e-06/0.7905, allocations: 0 / 0.6784 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.00112/0.7916, allocations: 0.6403 MB / 0.679 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.7917, allocations: 63.48 kB / 0.6791 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.7923, allocations: 0.6093 MB / 0.6797 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.7924, allocations: 38.11 kB / 0.6797 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.7926, allocations: 312.6 kB / 0.68 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.7927, allocations: 136.3 kB / 0.6801 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.7928, allocations: 9.875 kB / 0.6801 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.7929, allocations: 377.8 kB / 0.6805 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.7933, allocations: 212.3 kB / 0.6807 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.7937, allocations: 303.9 kB / 0.681 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.7942, allocations: 306.8 kB / 0.6813 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7942, allocations: 7.188 kB / 0.6813 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001066/0.7953, allocations: 0.7038 MB / 0.682 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.7953, allocations: 70.7 kB / 0.682 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.7953, allocations: 3.312 kB / 0.6821 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.7954, allocations: 8.859 kB / 0.6821 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.7958, allocations: 112.8 kB / 0.6822 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.7959, allocations: 5.719 kB / 0.6822 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.7964, allocations: 88.5 kB / 0.6823 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/0.7964, allocations: 28.06 kB / 0.6823 GB, free: 13 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (senHLat_flow.i_x,senHSen_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 2 * 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.0002763/0.7967, allocations: 199.9 kB / 0.6825 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.7968, allocations: 67.7 kB / 0.6825 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.798, allocations: 0.668 MB / 0.6832 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.798, allocations: 9.672 kB / 0.6832 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.798, allocations: 0 / 0.6832 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.798, allocations: 3.984 kB / 0.6832 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.7999, allocations: 1.342 MB / 0.6845 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.7999, allocations: 2.531 kB / 0.6845 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.8003, allocations: 78.48 kB / 0.6846 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.8003, allocations: 8.875 kB / 0.6846 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.8003, allocations: 11.84 kB / 0.6846 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.8003, allocations: 4.938 kB / 0.6846 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8003, allocations: 2.812 kB / 0.6846 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.8017, allocations: 1.071 MB / 0.6857 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.802, allocations: 222.8 kB / 0.6859 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.454e-05/0.8021, allocations: 11.91 kB / 0.6859 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.8026, allocations: 47.39 kB / 0.6859 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.8027, allocations: 29.88 kB / 0.686 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.8027, allocations: 30.19 kB / 0.686 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004874/0.8032, allocations: 443.1 kB / 0.6864 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8032, allocations: 4 kB / 0.6864 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001098/0.8043, allocations: 363.8 kB / 0.6868 GB, free: 11.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009363/0.8053, allocations: 440.4 kB / 0.6872 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009282/0.8062, allocations: 0.6294 MB / 0.6878 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8062, allocations: 0.5 kB / 0.6878 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.8066, allocations: 277.2 kB / 0.6881 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.8081, allocations: 343.3 kB / 0.6884 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.8101, allocations: 1.665 MB / 0.69 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.8106, allocations: 0.9414 MB / 0.6909 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005156/0.8111, allocations: 145.8 kB / 0.6911 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.8113, allocations: 61.2 kB / 0.6911 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.8113, allocations: 0 / 0.6911 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of Templates: time 0.02532/0.8366, allocations: 16.25 MB / 0.707 GB, free: 13 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: