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.002259/0.002259, allocations: 85.48 kB / 19.44 MB, free: 344 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.002647/0.002647, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.003528/0.003528, allocations: 234.4 kB / 259.8 MB, free: 12.85 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.179/1.179, allocations: 138.4 MB / 454.7 MB, free: 1.512 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.192e-06/1.192e-06, allocations: 0 / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.825e-05, allocations: 5.406 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3733/0.3733, allocations: 163.7 MB / 0.7142 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00991/0.3832, allocations: 6.734 MB / 0.7208 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.3836, allocations: 19.81 kB / 0.7208 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.3842, allocations: 174.7 kB / 0.721 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.3866, allocations: 0.8667 MB / 0.7219 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3876, allocations: 375 kB / 0.7222 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009303/0.3885, allocations: 0.7133 MB / 0.7229 GB, free: 340 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.389, allocations: 227.3 kB / 0.7231 GB, free: 116 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.3903, allocations: 0.6695 MB / 0.7238 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.3908, allocations: 243.3 kB / 0.724 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.3908, allocations: 24 kB / 0.724 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006064/0.3914, allocations: 295.2 kB / 0.7243 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3916, allocations: 115.6 kB / 0.7244 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.3917, allocations: 115.7 kB / 0.7245 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007662/0.3925, allocations: 486.4 kB / 0.725 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3925, allocations: 0 / 0.725 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3925, allocations: 0 / 0.725 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3925, allocations: 4 kB / 0.725 GB, free: 14.18 MB / 0.5417 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.0009973/0.3935, allocations: 0.6667 MB / 0.7257 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3935, allocations: 8.75 kB / 0.7257 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000364/0.3939, allocations: 95.61 kB / 0.7258 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.3944, allocations: 274.8 kB / 0.726 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.3944, allocations: 20.64 kB / 0.726 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.3945, allocations: 28 kB / 0.7261 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.395, allocations: 300.9 kB / 0.7263 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.395, allocations: 3.938 kB / 0.7264 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.3951, allocations: 15.98 kB / 0.7264 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.3951, allocations: 8 kB / 0.7264 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.3955, allocations: 137.9 kB / 0.7265 GB, free: 12.55 MB / 0.5417 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.001816/0.3973, allocations: 1.5 MB / 0.728 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.3976, allocations: 99.02 kB / 0.7281 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3977, allocations: 62.16 kB / 0.7281 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004546/0.3982, allocations: 67.94 kB / 0.7282 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3982, allocations: 33.39 kB / 0.7282 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.3982, allocations: 0 / 0.7282 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0006675/0.3989, allocations: 220.2 kB / 0.7284 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3989, allocations: 55.41 kB / 0.7285 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.3992, allocations: 308.3 kB / 0.7288 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3993, allocations: 29.7 kB / 0.7288 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3995, allocations: 254.8 kB / 0.729 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.3995, allocations: 47.59 kB / 0.7291 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.3996, allocations: 43.31 kB / 0.7291 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002902/0.3999, allocations: 0.5157 MB / 0.7296 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.4, allocations: 39.97 kB / 0.7297 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.4003, allocations: 184.8 kB / 0.7299 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.4006, allocations: 166 kB / 0.73 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4006, allocations: 0 / 0.73 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003837/0.401, allocations: 178.1 kB / 0.7302 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.401, allocations: 7.938 kB / 0.7302 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.401, allocations: 12.09 kB / 0.7302 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.401, allocations: 0.875 kB / 0.7302 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4012, allocations: 27.98 kB / 0.7302 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4012, allocations: 7.938 kB / 0.7302 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.4013, allocations: 15.94 kB / 0.7303 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.4013, allocations: 7.984 kB / 0.7303 GB, free: 8.48 MB / 0.5417 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.0001699/0.4015, allocations: 180.6 kB / 0.7304 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.4015, allocations: 23.86 kB / 0.7305 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.4019, allocations: 175.3 kB / 0.7306 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4019, allocations: 8 kB / 0.7306 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4019, allocations: 0 / 0.7306 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.402, allocations: 0 / 0.7306 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.403, allocations: 0.655 MB / 0.7313 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.403, allocations: 0 / 0.7313 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.4032, allocations: 32.14 kB / 0.7313 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4032, allocations: 8 kB / 0.7313 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.4032, allocations: 4 kB / 0.7313 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4032, allocations: 0 / 0.7313 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4032, allocations: 4 kB / 0.7313 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.4037, allocations: 370.1 kB / 0.7317 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.4038, allocations: 35.84 kB / 0.7317 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.4038, allocations: 4 kB / 0.7317 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4039, allocations: 7.984 kB / 0.7317 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.404, allocations: 19.92 kB / 0.7317 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.404, allocations: 4 kB / 0.7317 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001988/0.4042, allocations: 213.1 kB / 0.7319 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4042, allocations: 3.938 kB / 0.7319 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003813/0.4046, allocations: 83.72 kB / 0.732 GB, free: 6.539 MB / 0.5417 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.000275/0.4048, allocations: 140.1 kB / 0.7322 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.4052, allocations: 136.4 kB / 0.7323 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.4052, allocations: 4 kB / 0.7323 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4054, allocations: 71.53 kB / 0.7324 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006714/0.406, allocations: 99.86 kB / 0.7325 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.407, allocations: 0.5353 MB / 0.733 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.4072, allocations: 167.5 kB / 0.7331 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.4073, allocations: 44.55 kB / 0.7332 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.4074, allocations: 28.5 kB / 0.7332 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of SimCode: time 4.31e-07/0.4074, allocations: 0 / 0.7332 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of Templates: time 0.009488/0.4169, allocations: 3.781 MB / 0.7369 GB, free: 1.605 MB / 0.5417 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.34678784199059]