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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007085/0.0007085, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007435/0.0007434, allocations: 182.6 kB / 16.59 MB, free: 6.855 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.197/1.197, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5945/0.5945, allocations: 113.7 MB / 405.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002652/0.0002652, allocations: 12 kB / 493.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 77.11 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3699/0.4993, allocations: 153.9 MB / 0.7072 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005972/0.5054, allocations: 6.629 MB / 0.7137 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.5056, allocations: 11.94 kB / 0.7137 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.5059, allocations: 115.1 kB / 0.7138 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.5074, allocations: 0.8359 MB / 0.7146 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.5084, allocations: 496.6 kB / 0.7151 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006981/0.5091, allocations: 0.8927 MB / 0.716 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.5094, allocations: 221.3 kB / 0.7162 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007012/0.5101, allocations: 474 kB / 0.7166 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.5106, allocations: 402.6 kB / 0.717 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.5107, allocations: 16 kB / 0.717 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.5117, allocations: 0.6391 MB / 0.7177 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.615e-05/0.5118, allocations: 99.69 kB / 0.7178 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.5119, allocations: 89.52 kB / 0.7178 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.5124, allocations: 0.5144 MB / 0.7183 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.5124, allocations: 0 / 0.7183 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5124, allocations: 4 kB / 0.7184 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.5124, allocations: 0 / 0.7184 GB, free: 5.461 MB / 0.5294 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.0006942/0.5131, allocations: 0.6358 MB / 0.719 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.5132, allocations: 12.03 kB / 0.719 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.5132, allocations: 62.53 kB / 0.719 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008021/0.5141, allocations: 127.4 kB / 0.7192 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.5144, allocations: 321.4 kB / 0.7195 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.5145, allocations: 46.27 kB / 0.7195 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.5145, allocations: 32 kB / 0.7195 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.5151, allocations: 374.1 kB / 0.7199 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.5151, allocations: 0 / 0.7199 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.5151, allocations: 12 kB / 0.7199 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5151, allocations: 4 kB / 0.7199 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.5156, allocations: 286 kB / 0.7202 GB, free: 3.453 MB / 0.5294 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.001456/0.5171, allocations: 1.507 MB / 0.7217 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.5174, allocations: 194.6 kB / 0.7218 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.5176, allocations: 120.8 kB / 0.722 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008181/0.5184, allocations: 0.5209 MB / 0.7225 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.5185, allocations: 38.52 kB / 0.7225 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.5185, allocations: 7.938 kB / 0.7225 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0008054/0.5193, allocations: 371.7 kB / 0.7229 GB, free: 468 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.5193, allocations: 59.41 kB / 0.7229 GB, free: 396 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.5196, allocations: 308.5 kB / 0.7232 GB, free: 72 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.5196, allocations: 29.7 kB / 0.7233 GB, free: 36 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5198, allocations: 184.1 kB / 0.7234 GB, free: 15.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.5198, allocations: 51.2 kB / 0.7235 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.5198, allocations: 8 kB / 0.7235 GB, free: 15.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.5199, allocations: 334.8 kB / 0.7238 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5201, allocations: 95.92 kB / 0.7239 GB, free: 15.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.5203, allocations: 153.9 kB / 0.724 GB, free: 15.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.5205, allocations: 99.94 kB / 0.7241 GB, free: 15.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5205, allocations: 7.953 kB / 0.7241 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004837/0.521, allocations: 289.1 kB / 0.7244 GB, free: 14.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.521, allocations: 8 kB / 0.7244 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.521, allocations: 0 / 0.7244 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.521, allocations: 4 kB / 0.7244 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.5213, allocations: 48.09 kB / 0.7245 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5213, allocations: 8 kB / 0.7245 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.5215, allocations: 31.73 kB / 0.7245 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.5215, allocations: 19.94 kB / 0.7245 GB, free: 14.68 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.5216, allocations: 153.7 kB / 0.7247 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/0.5217, allocations: 35.58 kB / 0.7247 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006213/0.5224, allocations: 315.6 kB / 0.725 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5224, allocations: 4 kB / 0.725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5224, allocations: 4 kB / 0.725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5224, allocations: 3.938 kB / 0.725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.5235, allocations: 0.8161 MB / 0.7258 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5235, allocations: 3.938 kB / 0.7258 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.5237, allocations: 39.92 kB / 0.7259 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5237, allocations: 0 / 0.7259 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5237, allocations: 12.2 kB / 0.7259 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5237, allocations: 8 kB / 0.7259 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5238, allocations: 4 kB / 0.7259 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.5243, allocations: 409.9 kB / 0.7263 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5244, allocations: 136.6 kB / 0.7264 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.5244, allocations: 7.984 kB / 0.7264 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.5247, allocations: 27.98 kB / 0.7264 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.5247, allocations: 23.88 kB / 0.7265 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.5247, allocations: 11.98 kB / 0.7265 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000177/0.5249, allocations: 223 kB / 0.7267 GB, free: 12.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5249, allocations: 4 kB / 0.7267 GB, free: 12.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003934/0.5253, allocations: 115.8 kB / 0.7268 GB, free: 12.21 MB / 0.545 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.001044/0.5264, allocations: 1.044 MB / 0.7278 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.5268, allocations: 227.7 kB / 0.728 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5268, allocations: 0 / 0.728 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.527, allocations: 124.6 kB / 0.7282 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007364/0.5278, allocations: 162.9 kB / 0.7283 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.5301, allocations: 1.857 MB / 0.7301 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.5304, allocations: 0.7836 MB / 0.7309 GB, free: 7.887 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002596/0.5307, allocations: 90.48 kB / 0.731 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.5308, allocations: 103.4 kB / 0.7311 GB, free: 7.703 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5308, allocations: 0 / 0.7311 GB, free: 7.703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.5498, allocations: 9.808 MB / 0.7407 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.55, allocations: 231.1 kB / 0.7409 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.194, allocations: 4 kB / 0.7409 GB, free: 13.86 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: