Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001017/0.001016, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001074/0.001075, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.0005389, allocations: 18.41 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2532, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5771/0.8304, allocations: 141.8 MB / 0.9256 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005667/0.8361, allocations: 5.264 MB / 0.9307 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.8366, allocations: 10.97 kB / 0.9308 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.8373, allocations: 189.1 kB / 0.9309 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.8394, allocations: 0.705 MB / 0.9316 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.841, allocations: 0.5055 MB / 0.9321 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007017/0.8417, allocations: 450.9 kB / 0.9325 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.8421, allocations: 234.5 kB / 0.9328 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.8432, allocations: 0.4932 MB / 0.9333 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006933/0.8439, allocations: 330.4 kB / 0.9336 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.844, allocations: 14.75 kB / 0.9336 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.8456, allocations: 0.5546 MB / 0.9341 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.8457, allocations: 98.23 kB / 0.9342 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.8461, allocations: 88.36 kB / 0.9343 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008301/0.8469, allocations: 467.2 kB / 0.9347 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.847, allocations: 0 / 0.9347 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.455e-06/0.847, allocations: 0 / 0.9347 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.847, allocations: 0 / 0.9347 GB, free: 21.52 MB / 0.7325 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.0008986/0.8479, allocations: 0.615 MB / 0.9354 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.8479, allocations: 13.53 kB / 0.9354 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.849, allocations: 135 kB / 0.9355 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.8495, allocations: 303.7 kB / 0.9358 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/0.8495, allocations: 52.59 kB / 0.9358 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.8496, allocations: 25.78 kB / 0.9359 GB, free: 20.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.8503, allocations: 374.2 kB / 0.9362 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.8503, allocations: 0.6562 kB / 0.9362 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.8504, allocations: 13.58 kB / 0.9362 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.8504, allocations: 7.312 kB / 0.9362 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006101/0.851, allocations: 286.5 kB / 0.9365 GB, free: 20.67 MB / 0.7325 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.001789/0.8528, allocations: 1.482 MB / 0.938 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.8533, allocations: 163.1 kB / 0.9381 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/0.8538, allocations: 145.5 kB / 0.9382 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.8538, allocations: 36.44 kB / 0.9383 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.8538, allocations: 4 kB / 0.9383 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001036/0.8549, allocations: 390.1 kB / 0.9387 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.8549, allocations: 53.06 kB / 0.9387 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.8553, allocations: 314.3 kB / 0.939 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.8553, allocations: 30.89 kB / 0.939 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.8555, allocations: 183.5 kB / 0.9392 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.8555, allocations: 53.52 kB / 0.9393 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.8555, allocations: 3.531 kB / 0.9393 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8557, allocations: 339.5 kB / 0.9396 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.8559, allocations: 101.6 kB / 0.9397 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.8561, allocations: 166 kB / 0.9398 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.8564, allocations: 111.2 kB / 0.94 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8564, allocations: 0 / 0.94 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006448/0.857, allocations: 306.2 kB / 0.9402 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.8571, allocations: 6.719 kB / 0.9403 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8571, allocations: 1.438 kB / 0.9403 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.8571, allocations: 3.75 kB / 0.9403 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.8574, allocations: 52.61 kB / 0.9403 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8574, allocations: 3.938 kB / 0.9403 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.8576, allocations: 37.09 kB / 0.9403 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.8577, allocations: 11.48 kB / 0.9404 GB, free: 18.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.8579, allocations: 163.1 kB / 0.9405 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.858, allocations: 29.83 kB / 0.9405 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008654/0.8589, allocations: 331.8 kB / 0.9409 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.8589, allocations: 2.766 kB / 0.9409 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8589, allocations: 2.219 kB / 0.9409 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8589, allocations: 3.219 kB / 0.9409 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.8604, allocations: 0.8111 MB / 0.9417 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.8604, allocations: 2.094 kB / 0.9417 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.8606, allocations: 42.19 kB / 0.9417 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8606, allocations: 6.844 kB / 0.9417 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.8607, allocations: 8.266 kB / 0.9417 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.8607, allocations: 5.453 kB / 0.9417 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.8607, allocations: 4.688 kB / 0.9417 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.8614, allocations: 496.8 kB / 0.9422 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.8615, allocations: 136.8 kB / 0.9423 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.8616, allocations: 6.812 kB / 0.9423 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.8619, allocations: 26.75 kB / 0.9424 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.8619, allocations: 16.7 kB / 0.9424 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.862, allocations: 14.22 kB / 0.9424 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000251/0.8622, allocations: 223.1 kB / 0.9426 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.82e-07/0.8622, allocations: 1.969 kB / 0.9426 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005774/0.8628, allocations: 119.8 kB / 0.9427 GB, free: 17.55 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004517/0.8633, allocations: 217.7 kB / 0.9429 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.8638, allocations: 232.5 kB / 0.9431 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8638, allocations: 4.375 kB / 0.9432 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.864, allocations: 122.6 kB / 0.9433 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.8648, allocations: 155.8 kB / 0.9434 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.8658, allocations: 0.6991 MB / 0.9441 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.8662, allocations: 0.7952 MB / 0.9449 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003026/0.8665, allocations: 89.22 kB / 0.945 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.8666, allocations: 30.16 kB / 0.945 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/0.8666, allocations: 0 / 0.945 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of Templates: time 0.01271/0.8793, allocations: 6.836 MB / 0.9517 GB, free: 15.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: