Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002566/0.002566, allocations: 238.1 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.115/1.115, allocations: 138.4 MB / 454.7 MB, free: 1.461 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.829e-05, allocations: 9.547 kB / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3954/0.3954, allocations: 147.7 MB / 0.6986 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006308/0.4017, allocations: 5.982 MB / 0.7044 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.4022, allocations: 19.81 kB / 0.7044 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.4027, allocations: 178.7 kB / 0.7046 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.4047, allocations: 0.8705 MB / 0.7055 GB, free: 40 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.4059, allocations: 371 kB / 0.7058 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.4071, allocations: 0.7172 MB / 0.7065 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.4077, allocations: 223.3 kB / 0.7067 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.4094, allocations: 0.6579 MB / 0.7074 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.41, allocations: 251.3 kB / 0.7076 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.41, allocations: 27.94 kB / 0.7076 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007607/0.4108, allocations: 303.1 kB / 0.7079 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.411, allocations: 107.6 kB / 0.708 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.4112, allocations: 115.7 kB / 0.7081 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009967/0.4122, allocations: 490.4 kB / 0.7086 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4122, allocations: 0 / 0.7086 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4122, allocations: 0 / 0.7086 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.4122, allocations: 0 / 0.7086 GB, free: 12.81 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001117/0.4133, allocations: 0.5516 MB / 0.7092 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.4134, allocations: 12.73 kB / 0.7092 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.4138, allocations: 91.61 kB / 0.7093 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.4144, allocations: 272.1 kB / 0.7095 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.4145, allocations: 16.66 kB / 0.7095 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.4145, allocations: 31.94 kB / 0.7096 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.4152, allocations: 321 kB / 0.7099 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4152, allocations: 0 / 0.7099 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.4152, allocations: 8 kB / 0.7099 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.4152, allocations: 11.94 kB / 0.7099 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.4157, allocations: 201.8 kB / 0.7101 GB, free: 11.23 MB / 0.5261 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.001713/0.4174, allocations: 1.137 MB / 0.7112 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.4177, allocations: 110.5 kB / 0.7113 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.4179, allocations: 92.8 kB / 0.7114 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005226/0.4184, allocations: 74.42 kB / 0.7115 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.4185, allocations: 35.23 kB / 0.7115 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.4185, allocations: 0 / 0.7115 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0008412/0.4193, allocations: 270.7 kB / 0.7117 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.4194, allocations: 59.34 kB / 0.7118 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.4197, allocations: 229.8 kB / 0.712 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.4197, allocations: 29.7 kB / 0.712 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.4199, allocations: 192.2 kB / 0.7122 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.42, allocations: 47.56 kB / 0.7123 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.4201, allocations: 37.7 kB / 0.7123 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002284/0.4203, allocations: 334.8 kB / 0.7126 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.4205, allocations: 63.95 kB / 0.7127 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.4208, allocations: 186.2 kB / 0.7129 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.4212, allocations: 166.2 kB / 0.713 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4212, allocations: 4 kB / 0.713 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005519/0.4218, allocations: 225 kB / 0.7132 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4218, allocations: 8 kB / 0.7133 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4218, allocations: 3.938 kB / 0.7133 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.4218, allocations: 4 kB / 0.7133 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.422, allocations: 31.97 kB / 0.7133 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.422, allocations: 8.156 kB / 0.7133 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.4222, allocations: 23.88 kB / 0.7133 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.4222, allocations: 4 kB / 0.7133 GB, free: 7.727 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001806/0.4224, allocations: 153.8 kB / 0.7135 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.4225, allocations: 23.86 kB / 0.7135 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005073/0.423, allocations: 207.5 kB / 0.7137 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.423, allocations: 4 kB / 0.7137 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.423, allocations: 0 / 0.7137 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.423, allocations: 7.938 kB / 0.7137 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.4241, allocations: 0.5973 MB / 0.7143 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4241, allocations: 0 / 0.7143 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.4243, allocations: 28.2 kB / 0.7143 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4243, allocations: 4 kB / 0.7143 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.4243, allocations: 8 kB / 0.7143 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.4243, allocations: 7.938 kB / 0.7143 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4243, allocations: 4.484 kB / 0.7143 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.4248, allocations: 333.2 kB / 0.7147 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.4249, allocations: 31.84 kB / 0.7147 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.4249, allocations: 4.562 kB / 0.7147 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.4251, allocations: 15.98 kB / 0.7147 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.4252, allocations: 19.92 kB / 0.7147 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.4252, allocations: 4 kB / 0.7147 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001767/0.4254, allocations: 161.2 kB / 0.7149 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.4254, allocations: 0 / 0.7149 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004205/0.4258, allocations: 79.78 kB / 0.715 GB, free: 5.941 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0003041/0.4261, allocations: 148.6 kB / 0.7151 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006678/0.4268, allocations: 156.7 kB / 0.7153 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4268, allocations: 0 / 0.7153 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.427, allocations: 76.62 kB / 0.7153 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.4276, allocations: 100 kB / 0.7154 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4287, allocations: 0.5358 MB / 0.7159 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.4289, allocations: 175.5 kB / 0.7161 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.4291, allocations: 46.92 kB / 0.7162 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.4292, allocations: 20.5 kB / 0.7162 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/0.4292, allocations: 0 / 0.7162 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of Templates: time 0.009392/0.4386, allocations: 3.763 MB / 0.7198 GB, free: 1.016 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.004571789992042]