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.001652/0.001653, allocations: 106.8 kB / 16.27 MB, free: 6.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.001678/0.001678, allocations: 188.9 kB / 17.2 MB, free: 5.719 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.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8417/0.8417, allocations: 125.4 MB / 416.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 67.89 kB / 0.4941 GB, free: 4.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3638, allocations: 78.57 MB / 0.5709 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1964/0.5603, allocations: 169.4 MB / 0.7363 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00973/0.5701, allocations: 7.131 MB / 0.7433 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/0.5707, allocations: 11.94 kB / 0.7433 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.5713, allocations: 166.7 kB / 0.7435 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.5747, allocations: 1.26 MB / 0.7447 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.5764, allocations: 0.6314 MB / 0.7453 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009127/0.5773, allocations: 0.7446 MB / 0.746 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.5778, allocations: 299.8 kB / 0.7463 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.5794, allocations: 0.7083 MB / 0.747 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.5802, allocations: 410.5 kB / 0.7474 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.5803, allocations: 28 kB / 0.7474 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.5826, allocations: 1.239 MB / 0.7487 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.5828, allocations: 119.7 kB / 0.7488 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.583, allocations: 175.1 kB / 0.7489 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3599/0.9429, allocations: 0.8905 MB / 0.7498 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.9429, allocations: 0.75 kB / 0.7498 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9429, allocations: 0 / 0.7498 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.943, allocations: 0 / 0.7498 GB, free: 5.148 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.001249/0.9442, allocations: 0.6958 MB / 0.7505 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.9443, allocations: 9.344 kB / 0.7505 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.9454, allocations: 130.2 kB / 0.7506 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.9458, allocations: 322.3 kB / 0.7509 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-05/0.9459, allocations: 53.33 kB / 0.751 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.9459, allocations: 28.25 kB / 0.751 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.9466, allocations: 364.8 kB / 0.7514 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.9467, allocations: 4.266 kB / 0.7514 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.9467, allocations: 14.56 kB / 0.7514 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.9467, allocations: 7.531 kB / 0.7514 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.9473, allocations: 270.2 kB / 0.7516 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.9493, allocations: 1.497 MB / 0.7531 GB, free: 19.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.9497, allocations: 200 kB / 0.7533 GB, free: 19.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.95, allocations: 116.1 kB / 0.7534 GB, free: 19.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.9511, allocations: 0.5037 MB / 0.7539 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.9511, allocations: 41.25 kB / 0.7539 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.9511, allocations: 0 / 0.7539 GB, free: 18.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009641/0.9521, allocations: 352.9 kB / 0.7543 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.9522, allocations: 60.88 kB / 0.7543 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.9525, allocations: 318.4 kB / 0.7546 GB, free: 18.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.9525, allocations: 26.42 kB / 0.7547 GB, free: 18.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.9527, allocations: 184.7 kB / 0.7548 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.9527, allocations: 54.59 kB / 0.7549 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.9528, allocations: 45.52 kB / 0.7549 GB, free: 18.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9529, allocations: 339 kB / 0.7552 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.9532, allocations: 85.95 kB / 0.7553 GB, free: 18.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.9534, allocations: 147.3 kB / 0.7555 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.9539, allocations: 236.7 kB / 0.7557 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9539, allocations: 0.875 kB / 0.7557 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006693/0.9546, allocations: 294 kB / 0.756 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.9546, allocations: 6.406 kB / 0.756 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.9546, allocations: 1.688 kB / 0.756 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.9546, allocations: 4.656 kB / 0.756 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.9549, allocations: 40.09 kB / 0.756 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.9549, allocations: 5.812 kB / 0.756 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.9552, allocations: 29.09 kB / 0.7561 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.9552, allocations: 16.97 kB / 0.7561 GB, free: 17.95 MB / 0.5919 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.0001742/0.9554, allocations: 152.1 kB / 0.7562 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.9555, allocations: 32.5 kB / 0.7563 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007896/0.9563, allocations: 314.3 kB / 0.7566 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.9563, allocations: 3.406 kB / 0.7566 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.9564, allocations: 0.7812 kB / 0.7566 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.9564, allocations: 3.234 kB / 0.7566 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.9579, allocations: 0.7999 MB / 0.7573 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.958, allocations: 4.594 kB / 0.7573 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.9582, allocations: 39.22 kB / 0.7574 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.9582, allocations: 3.625 kB / 0.7574 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.9582, allocations: 4.922 kB / 0.7574 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.9582, allocations: 4.047 kB / 0.7574 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.9582, allocations: 6.562 kB / 0.7574 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/0.959, allocations: 403 kB / 0.7578 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.9592, allocations: 138.7 kB / 0.7579 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.9593, allocations: 6.594 kB / 0.7579 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.9595, allocations: 18.64 kB / 0.7579 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.9596, allocations: 23.38 kB / 0.758 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.9597, allocations: 11.25 kB / 0.758 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003378/0.96, allocations: 229.7 kB / 0.7582 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.96, allocations: 0.5938 kB / 0.7582 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006976/0.9607, allocations: 119.1 kB / 0.7583 GB, free: 17 MB / 0.5919 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.0006487/0.9614, allocations: 235.2 kB / 0.7585 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006674/0.9621, allocations: 225.3 kB / 0.7587 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9621, allocations: 1.438 kB / 0.7587 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.9624, allocations: 115.7 kB / 0.7589 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009251/0.9633, allocations: 167.5 kB / 0.759 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.9646, allocations: 0.5987 MB / 0.7596 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.9652, allocations: 0.7883 MB / 0.7604 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003367/0.9656, allocations: 83.55 kB / 0.7605 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.9657, allocations: 26.91 kB / 0.7605 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.9657, allocations: 1.719 kB / 0.7605 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of Templates: time 0.01804/0.9837, allocations: 7.287 MB / 0.7676 GB, free: 15.63 MB / 0.5919 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)