Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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.0009537/0.0009537, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001044/0.001044, allocations: 173 kB / 23.49 MB, free: 1.059 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.9843/0.9843, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.001668/0.001668, allocations: 240.8 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.7731/0.7731, allocations: 138.4 MB / 455.4 MB, free: 1.516 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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.555 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.771e-05, allocations: 6.25 kB / 0.555 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3647/0.3648, allocations: 165.8 MB / 0.717 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006075/0.3708, allocations: 7.389 MB / 0.7242 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.3711, allocations: 19.81 kB / 0.7242 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.3715, allocations: 174.7 kB / 0.7244 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.374, allocations: 1.322 MB / 0.7256 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3751, allocations: 0.697 MB / 0.7263 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006621/0.3758, allocations: 0.7638 MB / 0.7271 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.3761, allocations: 246.7 kB / 0.7273 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008348/0.377, allocations: 0.689 MB / 0.728 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.3775, allocations: 422.8 kB / 0.7284 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.3776, allocations: 24 kB / 0.7284 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.3787, allocations: 1.071 MB / 0.7295 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3788, allocations: 127.6 kB / 0.7296 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.3789, allocations: 127.7 kB / 0.7297 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0008759/0.3798, allocations: 0.8217 MB / 0.7305 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3798, allocations: 0 / 0.7305 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3798, allocations: 0 / 0.7305 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3798, allocations: 0 / 0.7305 GB, free: 9.336 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007102/0.3805, allocations: 0.7246 MB / 0.7312 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3806, allocations: 8.75 kB / 0.7312 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/0.3812, allocations: 195.2 kB / 0.7314 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.3816, allocations: 290.8 kB / 0.7317 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.3817, allocations: 72.06 kB / 0.7317 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.3817, allocations: 28 kB / 0.7318 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.3821, allocations: 323.8 kB / 0.7321 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3821, allocations: 0 / 0.7321 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.3821, allocations: 12 kB / 0.7321 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3821, allocations: 4 kB / 0.7321 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.3823, allocations: 114.9 kB / 0.7322 GB, free: 7.477 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.001024/0.3833, allocations: 1.256 MB / 0.7334 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3835, allocations: 83.09 kB / 0.7335 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/0.3835, allocations: 39.67 kB / 0.7336 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/0.3839, allocations: 127.9 kB / 0.7337 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3839, allocations: 37.39 kB / 0.7337 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.3839, allocations: 4 kB / 0.7337 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0004072/0.3843, allocations: 169.3 kB / 0.7339 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.3843, allocations: 59.41 kB / 0.7339 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.3847, allocations: 284.3 kB / 0.7342 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3848, allocations: 29.7 kB / 0.7342 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3849, allocations: 239.2 kB / 0.7345 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.3849, allocations: 55.53 kB / 0.7345 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.385, allocations: 55.25 kB / 0.7346 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3851, allocations: 0.5079 MB / 0.7351 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.3851, allocations: 19.98 kB / 0.7351 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3852, allocations: 170.9 kB / 0.7352 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3854, allocations: 127.6 kB / 0.7354 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3854, allocations: 0 / 0.7354 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002486/0.3856, allocations: 171.7 kB / 0.7355 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3857, allocations: 13.97 kB / 0.7355 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3857, allocations: 0 / 0.7355 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3857, allocations: 4 kB / 0.7355 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3858, allocations: 44.11 kB / 0.7356 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3858, allocations: 4 kB / 0.7356 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.3859, allocations: 20.69 kB / 0.7356 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.3859, allocations: 12 kB / 0.7356 GB, free: 3.754 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 8.978e-05/0.386, allocations: 164.5 kB / 0.7358 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.3861, allocations: 35.8 kB / 0.7358 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.3863, allocations: 183.6 kB / 0.736 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3864, allocations: 0 / 0.736 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3864, allocations: 4 kB / 0.736 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3864, allocations: 0 / 0.736 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.387, allocations: 0.612 MB / 0.7366 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.387, allocations: 0 / 0.7366 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.3871, allocations: 35.91 kB / 0.7366 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3871, allocations: 4 kB / 0.7366 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3871, allocations: 8.219 kB / 0.7366 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3871, allocations: 4 kB / 0.7366 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3871, allocations: 0 / 0.7366 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3873, allocations: 359 kB / 0.737 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.3874, allocations: 43.83 kB / 0.737 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3874, allocations: 4 kB / 0.737 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.3875, allocations: 12 kB / 0.737 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.3876, allocations: 19.91 kB / 0.7371 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3876, allocations: 8 kB / 0.7371 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.078e-05/0.3877, allocations: 197.1 kB / 0.7373 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.3877, allocations: 4 kB / 0.7373 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003066/0.388, allocations: 135.6 kB / 0.7374 GB, free: 1.82 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 (16): * Single equations (assignments): 16 * 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.0003166/0.3883, allocations: 227.8 kB / 0.7376 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.3885, allocations: 99.97 kB / 0.7377 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3885, allocations: 0 / 0.7377 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.3886, allocations: 64.22 kB / 0.7378 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.389, allocations: 112.8 kB / 0.7379 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009101/0.3899, allocations: 0.5497 MB / 0.7384 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.22e-05/0.39, allocations: 104.2 kB / 0.7385 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.3901, allocations: 66.8 kB / 0.7386 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.3902, allocations: 28.48 kB / 0.7386 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/0.3902, allocations: 0 / 0.7386 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of Templates: time 0.007929/0.3981, allocations: 6.116 MB / 0.7446 GB, free: 10.54 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.166340132942423]