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.001349/0.001349, allocations: 104 kB / 16.94 MB, free: 6.191 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.001318/0.001318, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.424/1.424, allocations: 222.9 MB / 241.6 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.8093/0.8093, allocations: 125.4 MB / 417.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002378, allocations: 63.89 kB / 0.4948 GB, free: 4.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3967, allocations: 78.56 MB / 0.5715 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1982/0.5949, allocations: 169.4 MB / 0.737 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009615/0.6046, allocations: 7.137 MB / 0.744 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005472/0.6052, allocations: 11.94 kB / 0.744 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.6058, allocations: 178.6 kB / 0.7441 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.6092, allocations: 1.252 MB / 0.7454 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.611, allocations: 0.6243 MB / 0.746 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.6121, allocations: 0.7485 MB / 0.7467 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000521/0.6126, allocations: 303.7 kB / 0.747 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.6142, allocations: 0.7084 MB / 0.7477 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008281/0.6151, allocations: 414.5 kB / 0.7481 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.539e-05/0.6151, allocations: 28 kB / 0.7481 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.6175, allocations: 1.228 MB / 0.7493 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.6177, allocations: 123.7 kB / 0.7494 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.6179, allocations: 175.1 kB / 0.7496 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3908/1.009, allocations: 0.8933 MB / 0.7505 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/1.009, allocations: 1.422 kB / 0.7505 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/1.009, allocations: 0.625 kB / 0.7505 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.939e-06/1.009, allocations: 0 / 0.7505 GB, free: 5.129 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.001348/1.01, allocations: 0.6917 MB / 0.7511 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.01, allocations: 10.44 kB / 0.7511 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/1.011, allocations: 133.9 kB / 0.7513 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/1.012, allocations: 321.1 kB / 0.7516 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.419e-05/1.012, allocations: 52.48 kB / 0.7516 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/1.012, allocations: 28.66 kB / 0.7517 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/1.013, allocations: 368.9 kB / 0.752 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.013, allocations: 4.844 kB / 0.752 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/1.013, allocations: 12.41 kB / 0.752 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/1.013, allocations: 6.594 kB / 0.752 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/1.013, allocations: 268.2 kB / 0.7523 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/1.015, allocations: 1.494 MB / 0.7537 GB, free: 19.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/1.016, allocations: 197.7 kB / 0.7539 GB, free: 19.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/1.016, allocations: 117.1 kB / 0.754 GB, free: 19.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.017, allocations: 0.5051 MB / 0.7545 GB, free: 18.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/1.017, allocations: 37.53 kB / 0.7546 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/1.017, allocations: 4.062 kB / 0.7546 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001041/1.018, allocations: 349.2 kB / 0.7549 GB, free: 18.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/1.018, allocations: 60.12 kB / 0.755 GB, free: 18.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/1.019, allocations: 320.4 kB / 0.7553 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/1.019, allocations: 31.08 kB / 0.7553 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/1.019, allocations: 178.4 kB / 0.7555 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/1.019, allocations: 55.23 kB / 0.7555 GB, free: 18.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/1.019, allocations: 44.41 kB / 0.7556 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.019, allocations: 337.8 kB / 0.7559 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/1.019, allocations: 87 kB / 0.756 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/1.02, allocations: 148.6 kB / 0.7561 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/1.02, allocations: 243.1 kB / 0.7563 GB, free: 18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.02, allocations: 0.7812 kB / 0.7563 GB, free: 18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006782/1.021, allocations: 292.9 kB / 0.7566 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.021, allocations: 5.938 kB / 0.7566 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/1.021, allocations: 1.969 kB / 0.7566 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.021, allocations: 3.609 kB / 0.7566 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/1.021, allocations: 43.73 kB / 0.7567 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.021, allocations: 5.594 kB / 0.7567 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/1.021, allocations: 29.39 kB / 0.7567 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/1.021, allocations: 10.34 kB / 0.7567 GB, free: 17.93 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.0001902/1.022, allocations: 155.2 kB / 0.7569 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.022, allocations: 33.84 kB / 0.7569 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000769/1.023, allocations: 309.7 kB / 0.7572 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.023, allocations: 5.422 kB / 0.7572 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.023, allocations: 0.625 kB / 0.7572 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.023, allocations: 5.328 kB / 0.7572 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/1.024, allocations: 0.8035 MB / 0.758 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.024, allocations: 2.406 kB / 0.758 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/1.024, allocations: 38.88 kB / 0.758 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.024, allocations: 4.641 kB / 0.758 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/1.024, allocations: 8.031 kB / 0.758 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.024, allocations: 3.938 kB / 0.758 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/1.024, allocations: 9.953 kB / 0.7581 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/1.025, allocations: 406.9 kB / 0.7584 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/1.025, allocations: 135.8 kB / 0.7586 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/1.025, allocations: 3.156 kB / 0.7586 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/1.026, allocations: 18.67 kB / 0.7586 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/1.026, allocations: 15.59 kB / 0.7586 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/1.026, allocations: 15.77 kB / 0.7586 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002915/1.026, allocations: 226.7 kB / 0.7588 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.11e-07/1.026, allocations: 0 / 0.7588 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007081/1.027, allocations: 120.9 kB / 0.759 GB, free: 16.98 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.0007113/1.028, allocations: 236 kB / 0.7592 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006719/1.028, allocations: 229.1 kB / 0.7594 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.028, allocations: 0 / 0.7594 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/1.029, allocations: 117 kB / 0.7595 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/1.029, allocations: 163.1 kB / 0.7597 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/1.031, allocations: 0.6311 MB / 0.7603 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/1.031, allocations: 0.7872 MB / 0.7611 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.031, allocations: 32.59 kB / 0.7611 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/1.031, allocations: 0.7812 kB / 0.7611 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Templates: time 0.01222/1.044, allocations: 6.242 MB / 0.7672 GB, free: 15.5 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)