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.001074/0.001074, allocations: 100.7 kB / 15.98 MB, free: 6.348 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.001194/0.001194, allocations: 195 kB / 16.91 MB, free: 6.199 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7665/0.7665, allocations: 122.9 MB / 413.6 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 67.89 kB / 0.4906 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3652, allocations: 77.92 MB / 0.5667 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1644/0.5296, allocations: 167.2 MB / 0.7299 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008193/0.5379, allocations: 7.079 MB / 0.7368 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.5383, allocations: 15.94 kB / 0.7368 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.5388, allocations: 139.1 kB / 0.737 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.5416, allocations: 1.195 MB / 0.7381 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.543, allocations: 0.5888 MB / 0.7387 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008/0.5439, allocations: 0.7602 MB / 0.7395 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.5443, allocations: 290.6 kB / 0.7397 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000991/0.5453, allocations: 0.5566 MB / 0.7403 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006987/0.546, allocations: 434.5 kB / 0.7407 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.5461, allocations: 28 kB / 0.7407 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.5479, allocations: 1.309 MB / 0.742 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.548, allocations: 115.7 kB / 0.7421 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.5482, allocations: 179.1 kB / 0.7423 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.5494, allocations: 0.9777 MB / 0.7432 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5494, allocations: 0 / 0.7432 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5494, allocations: 4 kB / 0.7432 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.5494, allocations: 0 / 0.7432 GB, free: 5.645 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.0009327/0.5504, allocations: 0.6934 MB / 0.7439 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5504, allocations: 8.625 kB / 0.7439 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.5514, allocations: 131.4 kB / 0.7441 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.5519, allocations: 329.1 kB / 0.7444 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.5519, allocations: 50.27 kB / 0.7444 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.552, allocations: 28 kB / 0.7444 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.5527, allocations: 370.2 kB / 0.7448 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5527, allocations: 3.938 kB / 0.7448 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.5527, allocations: 8 kB / 0.7448 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.5527, allocations: 12 kB / 0.7448 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.5533, allocations: 270 kB / 0.7451 GB, free: 3.652 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.001782/0.5551, allocations: 1.492 MB / 0.7465 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.5554, allocations: 194.5 kB / 0.7467 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.5557, allocations: 120.8 kB / 0.7468 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.5567, allocations: 0.5052 MB / 0.7473 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.5567, allocations: 38.56 kB / 0.7474 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.5567, allocations: 0 / 0.7474 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009176/0.5577, allocations: 349 kB / 0.7477 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5577, allocations: 67.33 kB / 0.7478 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.558, allocations: 316.5 kB / 0.7481 GB, free: 336 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.5581, allocations: 25.7 kB / 0.7481 GB, free: 304 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.5582, allocations: 184.1 kB / 0.7483 GB, free: 116 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.5583, allocations: 51.3 kB / 0.7483 GB, free: 64 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.5583, allocations: 41.7 kB / 0.7483 GB, free: 16 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2521/0.8105, allocations: 335.5 kB / 0.7487 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.8108, allocations: 85.2 kB / 0.7487 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.8111, allocations: 152.5 kB / 0.7489 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.8116, allocations: 239.4 kB / 0.7491 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8117, allocations: 0.7812 kB / 0.7491 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006912/0.8124, allocations: 288.9 kB / 0.7494 GB, free: 173 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.8124, allocations: 6.734 kB / 0.7494 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.8124, allocations: 1.469 kB / 0.7494 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.8124, allocations: 3.531 kB / 0.7494 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.8127, allocations: 46.48 kB / 0.7495 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8127, allocations: 4.219 kB / 0.7495 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.813, allocations: 39.91 kB / 0.7495 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.813, allocations: 10.84 kB / 0.7495 GB, free: 173 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.0001656/0.8132, allocations: 153.4 kB / 0.7497 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.8133, allocations: 31.27 kB / 0.7497 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007987/0.8141, allocations: 311.7 kB / 0.75 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8142, allocations: 6.891 kB / 0.75 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8142, allocations: 1.156 kB / 0.75 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8142, allocations: 2.844 kB / 0.75 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.8157, allocations: 0.8018 MB / 0.7508 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.8157, allocations: 2.188 kB / 0.7508 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.816, allocations: 41.2 kB / 0.7508 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.816, allocations: 6.906 kB / 0.7508 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.816, allocations: 6.297 kB / 0.7508 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.816, allocations: 6.812 kB / 0.7508 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.816, allocations: 1.875 kB / 0.7508 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.8167, allocations: 408.5 kB / 0.7512 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.8169, allocations: 134 kB / 0.7514 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.817, allocations: 8.828 kB / 0.7514 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.8173, allocations: 19.27 kB / 0.7514 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.8173, allocations: 23.5 kB / 0.7514 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.8174, allocations: 9.875 kB / 0.7514 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002799/0.8177, allocations: 226.5 kB / 0.7516 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.51e-07/0.8177, allocations: 1.156 kB / 0.7516 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006238/0.8183, allocations: 125.2 kB / 0.7517 GB, free: 171.7 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.0006076/0.8189, allocations: 232.8 kB / 0.752 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005743/0.8195, allocations: 225.4 kB / 0.7522 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8195, allocations: 0.7812 kB / 0.7522 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.8198, allocations: 116.7 kB / 0.7523 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.8207, allocations: 161.8 kB / 0.7525 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.8218, allocations: 0.6996 MB / 0.7531 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.8222, allocations: 0.7841 MB / 0.7539 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003466/0.8225, allocations: 88.61 kB / 0.754 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.8227, allocations: 32.25 kB / 0.754 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.8227, allocations: 4.016 kB / 0.754 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.01319/0.8359, allocations: 7.192 MB / 0.761 GB, free: 168.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)