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.001134/0.001134, allocations: 102.7 kB / 16.27 MB, free: 6.016 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.001125/0.001125, allocations: 188.8 kB / 17.19 MB, free: 5.656 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.275/1.275, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.755/0.755, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 55.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3391, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1768/0.5159, allocations: 169.4 MB / 0.7327 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009945/0.5258, allocations: 7.131 MB / 0.7397 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005803/0.5264, allocations: 15.88 kB / 0.7397 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007495/0.5273, allocations: 162.8 kB / 0.7399 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003578/0.5309, allocations: 1.272 MB / 0.7411 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.5325, allocations: 0.627 MB / 0.7417 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.5336, allocations: 0.7563 MB / 0.7425 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/0.5343, allocations: 294.7 kB / 0.7427 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.5358, allocations: 0.572 MB / 0.7433 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.5369, allocations: 414.6 kB / 0.7437 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.487e-05/0.537, allocations: 31.94 kB / 0.7437 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.5392, allocations: 1.243 MB / 0.7449 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.5393, allocations: 111.7 kB / 0.7451 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.5396, allocations: 183.1 kB / 0.7452 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.5414, allocations: 0.8922 MB / 0.7461 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5414, allocations: 4 kB / 0.7461 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5414, allocations: 0 / 0.7461 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.5414, allocations: 4 kB / 0.7461 GB, free: 3.07 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.001102/0.5425, allocations: 0.6896 MB / 0.7468 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.5426, allocations: 8.625 kB / 0.7468 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/0.5426, allocations: 62.55 kB / 0.7468 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.5437, allocations: 131.3 kB / 0.747 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.5441, allocations: 325.1 kB / 0.7473 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/0.5442, allocations: 50.27 kB / 0.7473 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.5443, allocations: 32 kB / 0.7474 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.5449, allocations: 370.1 kB / 0.7477 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5449, allocations: 0 / 0.7477 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.545, allocations: 12 kB / 0.7477 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.545, allocations: 8 kB / 0.7477 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.5455, allocations: 278 kB / 0.748 GB, free: 1.008 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.2582/0.8038, allocations: 1.489 MB / 0.7495 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.8043, allocations: 190.2 kB / 0.7496 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.8046, allocations: 119.3 kB / 0.7497 GB, free: 173 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009948/0.8056, allocations: 0.5025 MB / 0.7502 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.8057, allocations: 38.62 kB / 0.7503 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.8057, allocations: 0 / 0.7503 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001064/0.8068, allocations: 356 kB / 0.7506 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.8068, allocations: 53.78 kB / 0.7507 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.8072, allocations: 318.5 kB / 0.751 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.8072, allocations: 31.08 kB / 0.751 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.8073, allocations: 184.8 kB / 0.7512 GB, free: 172 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.8074, allocations: 53.77 kB / 0.7512 GB, free: 172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.8075, allocations: 44.23 kB / 0.7513 GB, free: 172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.8076, allocations: 345.9 kB / 0.7516 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.8078, allocations: 85.64 kB / 0.7517 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.8081, allocations: 152.1 kB / 0.7518 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.8085, allocations: 254.9 kB / 0.7521 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8086, allocations: 0 / 0.7521 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006553/0.8092, allocations: 281.9 kB / 0.7523 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.8092, allocations: 5.75 kB / 0.7523 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.8093, allocations: 2.312 kB / 0.7523 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.8093, allocations: 3.141 kB / 0.7523 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.8095, allocations: 45.06 kB / 0.7524 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.8095, allocations: 4.234 kB / 0.7524 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.8098, allocations: 33.2 kB / 0.7524 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.8098, allocations: 12.78 kB / 0.7524 GB, free: 171.3 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.0001393/0.81, allocations: 150.1 kB / 0.7526 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.8101, allocations: 29.97 kB / 0.7526 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.8108, allocations: 320.6 kB / 0.7529 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8109, allocations: 2.25 kB / 0.7529 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.8109, allocations: 0 / 0.7529 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.8109, allocations: 1.969 kB / 0.7529 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.8122, allocations: 0.8017 MB / 0.7537 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8122, allocations: 3.734 kB / 0.7537 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.8124, allocations: 36.2 kB / 0.7537 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.8124, allocations: 4.031 kB / 0.7537 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.8124, allocations: 9.234 kB / 0.7538 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.8124, allocations: 6.781 kB / 0.7538 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8124, allocations: 6.469 kB / 0.7538 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.813, allocations: 403.1 kB / 0.7541 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.8132, allocations: 132.7 kB / 0.7543 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.8132, allocations: 9.125 kB / 0.7543 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.8135, allocations: 16.91 kB / 0.7543 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.8136, allocations: 24.84 kB / 0.7543 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.8136, allocations: 11.62 kB / 0.7543 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002422/0.8139, allocations: 227.8 kB / 0.7546 GB, free: 170 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8139, allocations: 0 / 0.7546 GB, free: 170 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005581/0.8144, allocations: 123.7 kB / 0.7547 GB, free: 170 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.001271/0.8157, allocations: 1.054 MB / 0.7557 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005527/0.8163, allocations: 231.1 kB / 0.7559 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8163, allocations: 0 / 0.7559 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.8165, allocations: 111.5 kB / 0.756 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.8175, allocations: 174.2 kB / 0.7562 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.8216, allocations: 3.045 MB / 0.7592 GB, free: 167 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.8219, allocations: 0.7864 MB / 0.7599 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003451/0.8222, allocations: 80.86 kB / 0.76 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.8224, allocations: 103.7 kB / 0.7601 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.8224, allocations: 0 / 0.7601 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.8562, allocations: 10.43 MB / 0.7703 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/8.185, allocations: 12.58 kB / 0.7703 GB, free: 162.4 MB / 0.5762 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)