Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 109.5 kB / 17.03 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 194.9 kB / 17.97 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6873/0.6873, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001186, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3485, allocations: 76.15 MB / 0.5576 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1735/0.522, allocations: 169.4 MB / 0.723 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007931/0.53, allocations: 7.129 MB / 0.73 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.5305, allocations: 15.88 kB / 0.73 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.531, allocations: 158.8 kB / 0.7301 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.5338, allocations: 1.268 MB / 0.7314 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.5353, allocations: 0.6343 MB / 0.732 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000906/0.5362, allocations: 0.7602 MB / 0.7327 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.5367, allocations: 290.7 kB / 0.733 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.5377, allocations: 0.572 MB / 0.7336 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007121/0.5384, allocations: 416.4 kB / 0.734 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.5385, allocations: 27.94 kB / 0.734 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.5406, allocations: 1.251 MB / 0.7352 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.5408, allocations: 115.7 kB / 0.7353 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.541, allocations: 183.1 kB / 0.7355 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.5424, allocations: 0.9038 MB / 0.7364 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5424, allocations: 0 / 0.7364 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5424, allocations: 4 kB / 0.7364 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5424, allocations: 0 / 0.7364 GB, free: 12.85 MB / 0.5762 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.0008821/0.5433, allocations: 0.6935 MB / 0.7371 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.5434, allocations: 11.97 kB / 0.7371 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009887/0.5444, allocations: 135.4 kB / 0.7372 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.5449, allocations: 345.1 kB / 0.7375 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.545, allocations: 50.25 kB / 0.7376 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.545, allocations: 27.94 kB / 0.7376 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.5456, allocations: 370.2 kB / 0.738 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5457, allocations: 0 / 0.738 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.5457, allocations: 8 kB / 0.738 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.5457, allocations: 8 kB / 0.738 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.5463, allocations: 274 kB / 0.7382 GB, free: 10.84 MB / 0.5762 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.001855/0.5481, allocations: 1.492 MB / 0.7397 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.5485, allocations: 190.6 kB / 0.7399 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.5487, allocations: 120.7 kB / 0.74 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000912/0.5497, allocations: 0.5014 MB / 0.7405 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.5497, allocations: 38.5 kB / 0.7405 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.5497, allocations: 4 kB / 0.7405 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.00088/0.5506, allocations: 349.1 kB / 0.7409 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.5507, allocations: 59.41 kB / 0.7409 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.551, allocations: 312.5 kB / 0.7412 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.551, allocations: 25.7 kB / 0.7412 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5511, allocations: 188.1 kB / 0.7414 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.5512, allocations: 59.19 kB / 0.7415 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.5513, allocations: 41.7 kB / 0.7415 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002682/0.5516, allocations: 338.8 kB / 0.7418 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.5517, allocations: 87.86 kB / 0.7419 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.552, allocations: 153.9 kB / 0.7421 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.5524, allocations: 237.8 kB / 0.7423 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.5524, allocations: 4 kB / 0.7423 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005809/0.553, allocations: 288.2 kB / 0.7426 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.553, allocations: 8 kB / 0.7426 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.553, allocations: 4.125 kB / 0.7426 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.553, allocations: 8 kB / 0.7426 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.5533, allocations: 39.97 kB / 0.7426 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5533, allocations: 3.938 kB / 0.7426 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.5535, allocations: 35.67 kB / 0.7427 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.5535, allocations: 12.05 kB / 0.7427 GB, free: 5.957 MB / 0.5762 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 0.0001551/0.5537, allocations: 149.8 kB / 0.7428 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.5538, allocations: 27.7 kB / 0.7429 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/0.5545, allocations: 324.7 kB / 0.7432 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5545, allocations: 7.984 kB / 0.7432 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5545, allocations: 0 / 0.7432 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5546, allocations: 4 kB / 0.7432 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.5561, allocations: 0.8044 MB / 0.744 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5561, allocations: 4 kB / 0.744 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.5563, allocations: 27.98 kB / 0.744 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.5563, allocations: 4.219 kB / 0.744 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.5564, allocations: 15.94 kB / 0.744 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/0.5564, allocations: 11.92 kB / 0.744 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5564, allocations: 0 / 0.744 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006291/0.557, allocations: 396.9 kB / 0.7444 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.5572, allocations: 132.7 kB / 0.7445 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.5572, allocations: 7.938 kB / 0.7445 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.5575, allocations: 15.98 kB / 0.7446 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.5575, allocations: 23.97 kB / 0.7446 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.5576, allocations: 8 kB / 0.7446 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002269/0.5578, allocations: 227 kB / 0.7448 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5578, allocations: 96 / 0.7448 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004999/0.5583, allocations: 123.7 kB / 0.7449 GB, free: 3.523 MB / 0.5762 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.0005964/0.5589, allocations: 230.4 kB / 0.7451 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.5594, allocations: 219.7 kB / 0.7453 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5594, allocations: 0 / 0.7453 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.5597, allocations: 116.6 kB / 0.7455 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.5605, allocations: 166.7 kB / 0.7456 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.5617, allocations: 0.6009 MB / 0.7462 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.5622, allocations: 0.7834 MB / 0.747 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002614/0.5625, allocations: 93.05 kB / 0.7471 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.5625, allocations: 31.44 kB / 0.7471 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.5626, allocations: 0 / 0.7471 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of Templates: time 0.2724/0.835, allocations: 7.271 MB / 0.7542 GB, free: 43.84 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)