Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001002/0.001002, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001112/0.001112, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.887/1.887, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.061e-05, allocations: 6.172 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1318/0.1318, allocations: 146.1 MB / 0.9179 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1343, allocations: 2.29 MB / 0.9201 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.1345, allocations: 19.88 kB / 0.9201 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1348, allocations: 95.14 kB / 0.9202 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.136, allocations: 0.6528 MB / 0.9209 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.000863/0.1368, allocations: 0.5064 MB / 0.9213 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.1374, allocations: 0.721 MB / 0.9221 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.1377, allocations: 226.1 kB / 0.9223 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004896/0.1382, allocations: 395 kB / 0.9226 GB, free: 14 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005717/0.1388, allocations: 386.9 kB / 0.923 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.1388, allocations: 24 kB / 0.923 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.1395, allocations: 478.6 kB / 0.9235 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.1396, allocations: 123.6 kB / 0.9236 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.507e-05/0.1397, allocations: 127.7 kB / 0.9237 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.1402, allocations: 0.5257 MB / 0.9242 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1402, allocations: 0 / 0.9242 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1402, allocations: 4 kB / 0.9243 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1402, allocations: 0 / 0.9243 GB, free: 12.35 MB / 0.8855 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.0005744/0.1408, allocations: 0.5617 MB / 0.9248 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1408, allocations: 13.34 kB / 0.9248 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.1414, allocations: 180.3 kB / 0.925 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1417, allocations: 264.6 kB / 0.9252 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.1418, allocations: 72.62 kB / 0.9253 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.1419, allocations: 31.94 kB / 0.9253 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1422, allocations: 284.5 kB / 0.9256 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1422, allocations: 0 / 0.9256 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.1422, allocations: 12 kB / 0.9256 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1422, allocations: 8 kB / 0.9256 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1423, allocations: 94.16 kB / 0.9257 GB, free: 10.77 MB / 0.8855 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.000851/0.1432, allocations: 0.8732 MB / 0.9266 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1433, allocations: 110.9 kB / 0.9267 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.1434, allocations: 39.66 kB / 0.9267 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.1436, allocations: 75.92 kB / 0.9268 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1436, allocations: 34.56 kB / 0.9268 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.1436, allocations: 4 kB / 0.9268 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0002892/0.1439, allocations: 132.5 kB / 0.9269 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.1439, allocations: 55.39 kB / 0.927 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1441, allocations: 217 kB / 0.9272 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1441, allocations: 25.7 kB / 0.9272 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.1442, allocations: 176.9 kB / 0.9274 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.1442, allocations: 55.52 kB / 0.9275 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.1443, allocations: 45.64 kB / 0.9275 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.1443, allocations: 342.6 kB / 0.9278 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.1444, allocations: 18.83 kB / 0.9278 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.1445, allocations: 152.1 kB / 0.928 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1446, allocations: 107.5 kB / 0.9281 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1446, allocations: 0 / 0.9281 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001694/0.1448, allocations: 118.7 kB / 0.9282 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1448, allocations: 10.69 kB / 0.9282 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1448, allocations: 4 kB / 0.9282 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1448, allocations: 4 kB / 0.9282 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1449, allocations: 35.92 kB / 0.9283 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1449, allocations: 4 kB / 0.9283 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.145, allocations: 27.81 kB / 0.9283 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.145, allocations: 8 kB / 0.9283 GB, free: 7.945 MB / 0.8855 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.75e-05/0.1451, allocations: 120.6 kB / 0.9284 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.1451, allocations: 19.92 kB / 0.9284 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.1454, allocations: 135.3 kB / 0.9286 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1454, allocations: 8 kB / 0.9286 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1454, allocations: 0 / 0.9286 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1454, allocations: 4 kB / 0.9286 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.1459, allocations: 0.5116 MB / 0.9291 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1459, allocations: 0 / 0.9291 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.155e-05/0.1459, allocations: 31.92 kB / 0.9291 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1459, allocations: 7.938 kB / 0.9291 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.146, allocations: 12.2 kB / 0.9291 GB, free: 7.023 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.146, allocations: 4 kB / 0.9291 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.146, allocations: 4 kB / 0.9291 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1462, allocations: 299.9 kB / 0.9294 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.1462, allocations: 35.78 kB / 0.9294 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1462, allocations: 11.92 kB / 0.9295 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.1463, allocations: 12 kB / 0.9295 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1464, allocations: 11.97 kB / 0.9295 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1464, allocations: 15.94 kB / 0.9295 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.1464, allocations: 74.77 kB / 0.9296 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1464, allocations: 4 kB / 0.9296 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002795/0.1467, allocations: 111.6 kB / 0.9297 GB, free: 6.402 MB / 0.8855 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 (15): * Single equations (assignments): 15 * 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.0002703/0.147, allocations: 148.2 kB / 0.9298 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.1472, allocations: 80.64 kB / 0.9299 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.1472, allocations: 4 kB / 0.9299 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.1472, allocations: 48.7 kB / 0.9299 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.1477, allocations: 103.4 kB / 0.93 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1489, allocations: 0.5449 MB / 0.9306 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.455e-05/0.1489, allocations: 100.2 kB / 0.9307 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.1491, allocations: 33.95 kB / 0.9307 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.1494, allocations: 131.2 kB / 0.9308 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of SimCode: time 7.91e-07/0.1494, allocations: 0 / 0.9308 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of Templates: time 0.01031/0.1597, allocations: 5.483 MB / 0.9362 GB, free: 15.77 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.349967157933861]