Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008662/0.0008661, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005671/0.005671, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 271 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9779/0.9779, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003977, allocations: 13.14 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5638/0.737, allocations: 174.8 MB / 0.8559 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009036/0.7461, allocations: 7.759 MB / 0.8634 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007141/0.7469, allocations: 18.75 kB / 0.8634 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007325/0.7476, allocations: 183.5 kB / 0.8636 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.7507, allocations: 1.142 MB / 0.8647 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.7526, allocations: 0.6683 MB / 0.8654 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.7542, allocations: 1.538 MB / 0.8669 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.7547, allocations: 340 kB / 0.8672 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.7573, allocations: 0.7544 MB / 0.868 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007122/0.7581, allocations: 445.4 kB / 0.8684 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.7581, allocations: 28.66 kB / 0.8684 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.7601, allocations: 1.085 MB / 0.8695 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.7603, allocations: 138 kB / 0.8696 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.7605, allocations: 252.6 kB / 0.8698 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.7618, allocations: 0.9728 MB / 0.8708 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7618, allocations: 0 / 0.8708 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7618, allocations: 2.906 kB / 0.8708 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.7618, allocations: 0 / 0.8708 GB, free: 14.79 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00105/0.7629, allocations: 0.7191 MB / 0.8715 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.7629, allocations: 10.91 kB / 0.8715 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.7638, allocations: 156.3 kB / 0.8717 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.7643, allocations: 379.6 kB / 0.872 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.7644, allocations: 32.81 kB / 0.872 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.7645, allocations: 36.72 kB / 0.8721 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.7652, allocations: 453 kB / 0.8725 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.7652, allocations: 3.062 kB / 0.8725 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.7652, allocations: 18.88 kB / 0.8725 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.7653, allocations: 11.84 kB / 0.8725 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.7659, allocations: 332.6 kB / 0.8729 GB, free: 13.27 MB / 0.5919 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.002063/0.7679, allocations: 2.022 MB / 0.8748 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.7683, allocations: 248 kB / 0.8751 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.7686, allocations: 159.1 kB / 0.8752 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/0.7692, allocations: 321 kB / 0.8755 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.7692, allocations: 37.44 kB / 0.8756 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.714e-06/0.7692, allocations: 0 / 0.8756 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.00103/0.7703, allocations: 470.2 kB / 0.876 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.7703, allocations: 54.28 kB / 0.8761 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.7707, allocations: 398.5 kB / 0.8764 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.7708, allocations: 28.39 kB / 0.8765 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.7709, allocations: 230.3 kB / 0.8767 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.771, allocations: 86.42 kB / 0.8768 GB, free: 10 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.7711, allocations: 29.73 kB / 0.8768 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7712, allocations: 350.7 kB / 0.8771 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.7714, allocations: 119 kB / 0.8773 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.7717, allocations: 186.9 kB / 0.8774 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.7722, allocations: 316.2 kB / 0.8777 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7722, allocations: 0 / 0.8777 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007251/0.773, allocations: 380.7 kB / 0.8781 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.773, allocations: 5.469 kB / 0.8781 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.773, allocations: 11.16 kB / 0.8781 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.773, allocations: 2.844 kB / 0.8781 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.7733, allocations: 62.31 kB / 0.8782 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.7733, allocations: 2.906 kB / 0.8782 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.7736, allocations: 61.41 kB / 0.8782 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.7737, allocations: 15.06 kB / 0.8783 GB, free: 8.988 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.7739, allocations: 171.8 kB / 0.8784 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.7739, allocations: 38.69 kB / 0.8785 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007155/0.7746, allocations: 378.4 kB / 0.8788 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.7747, allocations: 2.844 kB / 0.8788 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7747, allocations: 0 / 0.8788 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7747, allocations: 0 / 0.8788 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.7761, allocations: 0.9458 MB / 0.8797 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7761, allocations: 2.625 kB / 0.8797 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.7763, allocations: 58.91 kB / 0.8798 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.7763, allocations: 6.875 kB / 0.8798 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.7764, allocations: 6.812 kB / 0.8798 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.7764, allocations: 6.531 kB / 0.8798 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7764, allocations: 2.5 kB / 0.8798 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009253/0.7773, allocations: 0.6534 MB / 0.8805 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.7775, allocations: 148.5 kB / 0.8806 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.7775, allocations: 7.984 kB / 0.8806 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.7778, allocations: 28.05 kB / 0.8806 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.7779, allocations: 19.97 kB / 0.8807 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.7779, allocations: 8 kB / 0.8807 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002644/0.7781, allocations: 283.1 kB / 0.8809 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7782, allocations: 0 / 0.8809 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004622/0.7786, allocations: 107.8 kB / 0.881 GB, free: 6.703 MB / 0.5919 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 (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.0004305/0.7791, allocations: 178.1 kB / 0.8812 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005978/0.7797, allocations: 311.3 kB / 0.8815 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7797, allocations: 0 / 0.8815 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.78, allocations: 149.8 kB / 0.8816 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.7812, allocations: 217.1 kB / 0.8818 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.7825, allocations: 0.9843 MB / 0.8828 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.7829, allocations: 0.8314 MB / 0.8836 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003025/0.7832, allocations: 91.42 kB / 0.8837 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.7833, allocations: 39.42 kB / 0.8837 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7833, allocations: 0 / 0.8837 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of Templates: time 0.01471/0.798, allocations: 7.214 MB / 0.8908 GB, free: 12.76 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)