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.001279/0.00128, allocations: 97.2 kB / 15.69 MB, free: 480 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.001611/0.001611, allocations: 175.7 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.544/2.544, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.23/1.23, allocations: 113.7 MB / 405.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005563, allocations: 9.625 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2601, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.8561/1.116, allocations: 141.8 MB / 0.6952 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01082/1.127, allocations: 5.267 MB / 0.7003 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009128/1.128, allocations: 11.94 kB / 0.7003 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/1.129, allocations: 191.1 kB / 0.7005 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003759/1.133, allocations: 0.7049 MB / 0.7012 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/1.136, allocations: 0.5058 MB / 0.7017 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001336/1.137, allocations: 456 kB / 0.7021 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007975/1.138, allocations: 233.2 kB / 0.7024 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/1.14, allocations: 0.4946 MB / 0.7028 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/1.142, allocations: 335 kB / 0.7032 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/1.142, allocations: 16 kB / 0.7032 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/1.144, allocations: 0.5499 MB / 0.7037 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/1.145, allocations: 95.7 kB / 0.7038 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002705/1.145, allocations: 93.52 kB / 0.7039 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/1.147, allocations: 467.8 kB / 0.7043 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.147, allocations: 0 / 0.7043 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.596e-06/1.147, allocations: 0 / 0.7043 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.874e-05/1.147, allocations: 0 / 0.7043 GB, free: 2.98 MB / 0.5137 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.001543/1.148, allocations: 0.6163 MB / 0.7049 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/1.148, allocations: 16.03 kB / 0.705 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/1.148, allocations: 58.55 kB / 0.705 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/1.15, allocations: 136.2 kB / 0.7051 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/1.151, allocations: 305.4 kB / 0.7054 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.151, allocations: 50.27 kB / 0.7055 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/1.151, allocations: 24 kB / 0.7055 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.152, allocations: 378.1 kB / 0.7059 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.152, allocations: 0 / 0.7059 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/1.152, allocations: 12 kB / 0.7059 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/1.152, allocations: 4 kB / 0.7059 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008512/1.153, allocations: 286 kB / 0.7062 GB, free: 1 MB / 0.5137 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.003041/1.156, allocations: 1.49 MB / 0.7076 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/1.157, allocations: 162.5 kB / 0.7078 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006312/1.158, allocations: 145.3 kB / 0.7079 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/1.158, allocations: 38.52 kB / 0.7079 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 3.507e-06/1.158, allocations: 0 / 0.7079 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.001539/1.159, allocations: 390.5 kB / 0.7083 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/1.159, allocations: 51.41 kB / 0.7084 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/1.16, allocations: 308.5 kB / 0.7087 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/1.16, allocations: 37.64 kB / 0.7087 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/1.16, allocations: 184 kB / 0.7089 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/1.16, allocations: 55.2 kB / 0.7089 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/1.16, allocations: 4 kB / 0.7089 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.16, allocations: 346.7 kB / 0.7093 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/1.161, allocations: 91.94 kB / 0.7093 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/1.161, allocations: 169.4 kB / 0.7095 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/1.161, allocations: 107.9 kB / 0.7096 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.161, allocations: 0 / 0.7096 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001003/1.162, allocations: 305.1 kB / 0.7099 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/1.162, allocations: 10.19 kB / 0.7099 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.162, allocations: 0 / 0.7099 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.162, allocations: 8.188 kB / 0.7099 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/1.163, allocations: 51.91 kB / 0.71 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.163, allocations: 0 / 0.71 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/1.163, allocations: 43.72 kB / 0.71 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/1.163, allocations: 8 kB / 0.71 GB, free: 12.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0002441/1.164, allocations: 157.7 kB / 0.7102 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.164, allocations: 35.58 kB / 0.7102 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.165, allocations: 324 kB / 0.7105 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.165, allocations: 4 kB / 0.7105 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.165, allocations: 0.875 kB / 0.7105 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.165, allocations: 3.984 kB / 0.7105 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/1.167, allocations: 0.8121 MB / 0.7113 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.167, allocations: 4 kB / 0.7113 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/1.167, allocations: 40.14 kB / 0.7114 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/1.167, allocations: 8 kB / 0.7114 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/1.167, allocations: 8.859 kB / 0.7114 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/1.167, allocations: 4 kB / 0.7114 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.167, allocations: 0 / 0.7114 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.168, allocations: 0.4978 MB / 0.7119 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/1.169, allocations: 124.7 kB / 0.712 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/1.169, allocations: 8 kB / 0.712 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/1.169, allocations: 35.91 kB / 0.712 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/1.169, allocations: 23.88 kB / 0.712 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/1.169, allocations: 8 kB / 0.712 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003633/1.17, allocations: 227 kB / 0.7123 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/1.17, allocations: 0 / 0.7123 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009253/1.171, allocations: 127.8 kB / 0.7124 GB, free: 10.19 MB / 0.5294 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.002267/1.173, allocations: 1.616 MB / 0.714 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008239/1.174, allocations: 232 kB / 0.7142 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.174, allocations: 0 / 0.7142 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003881/1.174, allocations: 119.8 kB / 0.7143 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.176, allocations: 153.1 kB / 0.7144 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/1.179, allocations: 2.243 MB / 0.7166 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/1.18, allocations: 0.7992 MB / 0.7174 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006337/1.181, allocations: 82.56 kB / 0.7175 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/1.181, allocations: 99.39 kB / 0.7176 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of SimCode: time 2.705e-06/1.181, allocations: 4 kB / 0.7176 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05081/1.232, allocations: 9.731 MB / 0.7271 GB, free: 11.14 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/1.232, allocations: 215.1 kB / 0.7273 GB, free: 10.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.361/4.593, allocations: 0 / 0.7273 GB, free: 10.89 MB / 0.545 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: