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.001652/0.001656, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001837/0.001837, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 275 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 178.6 MB / 0.5069 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 104.9 kB / 0.6059 GB, free: 25.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1809, allocations: 89.14 MB / 0.693 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.508/0.689, allocations: 177 MB / 0.8658 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009357/0.6984, allocations: 7.776 MB / 0.8734 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.6991, allocations: 14.06 kB / 0.8735 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.6998, allocations: 210.7 kB / 0.8737 GB, free: 108 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003242/0.7031, allocations: 1.146 MB / 0.8748 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.7048, allocations: 0.6641 MB / 0.8754 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.7062, allocations: 1.086 MB / 0.8765 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005929/0.7068, allocations: 385.3 kB / 0.8769 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.7096, allocations: 0.8352 MB / 0.8777 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.7103, allocations: 458.5 kB / 0.8781 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.7103, allocations: 37.78 kB / 0.8781 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.7121, allocations: 0.981 MB / 0.8791 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.7123, allocations: 159.7 kB / 0.8792 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.7126, allocations: 245 kB / 0.8795 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.7139, allocations: 0.9848 MB / 0.8804 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7139, allocations: 0 / 0.8804 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.714, allocations: 7.156 kB / 0.8805 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.714, allocations: 0 / 0.8805 GB, free: 11.77 MB / 0.6075 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.001177/0.7152, allocations: 0.796 MB / 0.8812 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.7152, allocations: 9.75 kB / 0.8812 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009378/0.7161, allocations: 158.4 kB / 0.8814 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.7167, allocations: 387.3 kB / 0.8818 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.7168, allocations: 33 kB / 0.8818 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/0.7169, allocations: 36 kB / 0.8818 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/0.7177, allocations: 446.4 kB / 0.8823 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.7177, allocations: 0 / 0.8823 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.7177, allocations: 16 kB / 0.8823 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.7178, allocations: 15.94 kB / 0.8823 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006341/0.7184, allocations: 315.8 kB / 0.8826 GB, free: 9.734 MB / 0.6075 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.002415/0.7208, allocations: 2.019 MB / 0.8846 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.7213, allocations: 246.2 kB / 0.8848 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.7215, allocations: 148.7 kB / 0.8849 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/0.7222, allocations: 311.2 kB / 0.8852 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.7222, allocations: 32.38 kB / 0.8853 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.7222, allocations: 0 / 0.8853 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001088/0.7233, allocations: 454.9 kB / 0.8857 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.7234, allocations: 59.34 kB / 0.8857 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.7238, allocations: 394 kB / 0.8861 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.7239, allocations: 33.7 kB / 0.8862 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.7241, allocations: 228.2 kB / 0.8864 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.7242, allocations: 86.73 kB / 0.8865 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.7243, allocations: 53.7 kB / 0.8865 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.7244, allocations: 350.7 kB / 0.8868 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.7247, allocations: 123.9 kB / 0.887 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.725, allocations: 171.3 kB / 0.8871 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.7256, allocations: 308.5 kB / 0.8874 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.7256, allocations: 0 / 0.8874 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006744/0.7263, allocations: 366.6 kB / 0.8878 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7263, allocations: 8 kB / 0.8878 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.7263, allocations: 3.938 kB / 0.8878 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.7263, allocations: 4 kB / 0.8878 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.7266, allocations: 59.91 kB / 0.8878 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.7266, allocations: 8.219 kB / 0.8878 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.727, allocations: 55.5 kB / 0.8879 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.727, allocations: 12 kB / 0.8879 GB, free: 3.918 MB / 0.6075 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.0002225/0.7272, allocations: 166.2 kB / 0.8881 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.7273, allocations: 39.53 kB / 0.8881 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007596/0.7281, allocations: 368.5 kB / 0.8885 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7281, allocations: 0 / 0.8885 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7281, allocations: 0 / 0.8885 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7281, allocations: 7.984 kB / 0.8885 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.7296, allocations: 0.9369 MB / 0.8894 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7297, allocations: 0 / 0.8894 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.7299, allocations: 43.98 kB / 0.8894 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.73, allocations: 14.89 kB / 0.8894 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.73, allocations: 11.88 kB / 0.8895 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.73, allocations: 4 kB / 0.8895 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.73, allocations: 4 kB / 0.8895 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009954/0.731, allocations: 0.6334 MB / 0.8901 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.7312, allocations: 152.4 kB / 0.8902 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.7313, allocations: 4 kB / 0.8902 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.7315, allocations: 32.03 kB / 0.8903 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.7316, allocations: 15.98 kB / 0.8903 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.7316, allocations: 11.94 kB / 0.8903 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000308/0.7319, allocations: 279.1 kB / 0.8905 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7319, allocations: 4 kB / 0.8906 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004682/0.7324, allocations: 111.8 kB / 0.8907 GB, free: 0.9688 MB / 0.6075 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.0004703/0.7329, allocations: 173.1 kB / 0.8908 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006525/0.7336, allocations: 304 kB / 0.8911 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7336, allocations: 4 kB / 0.8911 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.7339, allocations: 147.7 kB / 0.8913 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.735, allocations: 224.6 kB / 0.8915 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.7365, allocations: 0.9489 MB / 0.8924 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.737, allocations: 0.8311 MB / 0.8932 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003273/0.7374, allocations: 103.4 kB / 0.8933 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.7375, allocations: 35.42 kB / 0.8933 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.7375, allocations: 4 kB / 0.8933 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of Templates: time 0.01496/0.7524, allocations: 7.517 MB / 0.9007 GB, free: 6.762 MB / 0.6231 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)