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.001097/0.001097, allocations: 92.2 kB / 20.19 MB, free: 4.367 MB / 18.57 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.001222/0.001222, allocations: 173 kB / 23.49 MB, free: 1.062 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 0.9795/0.9795, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.00514/0.00514, allocations: 236.5 kB / 260.5 MB, free: 12.88 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 0.7982/0.7982, allocations: 138.4 MB / 455.4 MB, free: 1.531 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.352e-06/1.352e-06, allocations: 0 / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.587e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3731/0.3731, allocations: 163.8 MB / 0.715 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006066/0.3791, allocations: 6.733 MB / 0.7216 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.3796, allocations: 19.81 kB / 0.7216 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.3801, allocations: 178.7 kB / 0.7218 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.3818, allocations: 0.8628 MB / 0.7226 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008634/0.3827, allocations: 379 kB / 0.723 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007479/0.3834, allocations: 0.721 MB / 0.7237 GB, free: 312 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000387/0.3838, allocations: 230.7 kB / 0.7239 GB, free: 88 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.3849, allocations: 0.6617 MB / 0.7246 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004077/0.3853, allocations: 247.3 kB / 0.7248 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.3853, allocations: 24 kB / 0.7248 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.3859, allocations: 299.1 kB / 0.7251 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.386, allocations: 115.6 kB / 0.7252 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3861, allocations: 115.7 kB / 0.7253 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.3866, allocations: 386.7 kB / 0.7257 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3866, allocations: 0 / 0.7257 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3866, allocations: 0 / 0.7257 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.3866, allocations: 0 / 0.7257 GB, free: 14.26 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.0007002/0.3873, allocations: 0.6511 MB / 0.7263 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3874, allocations: 12.75 kB / 0.7263 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.3877, allocations: 95.59 kB / 0.7264 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.3881, allocations: 278.8 kB / 0.7267 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.3881, allocations: 20.66 kB / 0.7267 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.3881, allocations: 24 kB / 0.7267 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.3885, allocations: 269.6 kB / 0.727 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3885, allocations: 7.922 kB / 0.727 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.3885, allocations: 8 kB / 0.727 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3885, allocations: 8 kB / 0.727 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.3887, allocations: 86.88 kB / 0.7271 GB, free: 12.71 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.001049/0.3897, allocations: 1.441 MB / 0.7285 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3898, allocations: 67.03 kB / 0.7286 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.3899, allocations: 39.67 kB / 0.7286 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.3902, allocations: 67.94 kB / 0.7287 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3902, allocations: 33.39 kB / 0.7287 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 2.394e-06/0.3902, allocations: 0 / 0.7287 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.000385/0.3906, allocations: 153.3 kB / 0.7289 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3906, allocations: 55.41 kB / 0.7289 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.3908, allocations: 276.3 kB / 0.7292 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3908, allocations: 29.7 kB / 0.7292 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3909, allocations: 250.8 kB / 0.7294 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.391, allocations: 43.62 kB / 0.7295 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.391, allocations: 47.33 kB / 0.7295 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3912, allocations: 0.5001 MB / 0.73 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.3912, allocations: 19.98 kB / 0.73 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3913, allocations: 166 kB / 0.7302 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3914, allocations: 110 kB / 0.7303 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3914, allocations: 4 kB / 0.7303 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001789/0.3916, allocations: 130.7 kB / 0.7304 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3916, allocations: 6.344 kB / 0.7304 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3916, allocations: 8.75 kB / 0.7304 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3916, allocations: 0 / 0.7304 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3917, allocations: 27.98 kB / 0.7305 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3918, allocations: 7.938 kB / 0.7305 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.3918, allocations: 23.81 kB / 0.7305 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3918, allocations: 12.16 kB / 0.7305 GB, free: 9.008 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 9.411e-05/0.3919, allocations: 160.6 kB / 0.7307 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.392, allocations: 27.86 kB / 0.7307 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.3922, allocations: 131.5 kB / 0.7308 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3922, allocations: 4.047 kB / 0.7308 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3922, allocations: 3.984 kB / 0.7308 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3922, allocations: 0 / 0.7308 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.3927, allocations: 0.5574 MB / 0.7314 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3927, allocations: 0 / 0.7314 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.3928, allocations: 31.92 kB / 0.7314 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3928, allocations: 4 kB / 0.7314 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3928, allocations: 4 kB / 0.7314 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3928, allocations: 4 kB / 0.7314 GB, free: 8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3928, allocations: 0 / 0.7314 GB, free: 8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.3931, allocations: 328.2 kB / 0.7317 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.3932, allocations: 39.84 kB / 0.7318 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3932, allocations: 4 kB / 0.7318 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.3932, allocations: 7.984 kB / 0.7318 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.3933, allocations: 15.92 kB / 0.7318 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3933, allocations: 8 kB / 0.7318 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.406e-05/0.3934, allocations: 193.1 kB / 0.732 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3934, allocations: 3.938 kB / 0.732 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003045/0.3937, allocations: 83.72 kB / 0.7321 GB, free: 7.285 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.000255/0.394, allocations: 143.1 kB / 0.7322 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3941, allocations: 79.53 kB / 0.7323 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3941, allocations: 4 kB / 0.7323 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.125e-05/0.3942, allocations: 55.42 kB / 0.7323 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.3946, allocations: 86.17 kB / 0.7324 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.3956, allocations: 0.5318 MB / 0.7329 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.292e-05/0.3956, allocations: 92.3 kB / 0.733 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.3957, allocations: 39.55 kB / 0.7331 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.3958, allocations: 28.5 kB / 0.7331 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of SimCode: time 1.393e-06/0.3958, allocations: 3.938 kB / 0.7331 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of Templates: time 0.006645/0.4024, allocations: 3.776 MB / 0.7368 GB, free: 2.516 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: 4.19517412991263]