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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5486/0.5486, allocations: 91.97 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 223.1 MB / 354.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 91.2 kB / 427.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 8 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 72.31 MB / 0.5689 GB, free: 1.586 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.586/5.759, allocations: 1.822 GB / 2.391 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/5.76, allocations: 95.94 kB / 2.391 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.652/7.411, allocations: 306.8 MB / 2.691 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.083e-06/7.411, allocations: 0 / 2.691 GB, free: 139.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.182e-05/7.411, allocations: 11.44 kB / 2.691 GB, free: 139.3 MB / 0.6042 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.001612/7.413, allocations: 0.7624 MB / 2.692 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/7.413, allocations: 10.84 kB / 2.692 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.124e-05/7.413, allocations: 58.92 kB / 2.692 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/7.414, allocations: 132 kB / 2.692 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/7.415, allocations: 336.7 kB / 2.692 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.562e-05/7.415, allocations: 51.95 kB / 2.692 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/7.415, allocations: 29.72 kB / 2.692 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/7.416, allocations: 362.7 kB / 2.693 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/7.416, allocations: 3.953 kB / 2.693 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/7.416, allocations: 15.78 kB / 2.693 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/7.416, allocations: 7.469 kB / 2.693 GB, free: 138.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/7.416, allocations: 263.9 kB / 2.693 GB, free: 138.5 MB / 0.6042 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.001737/7.418, allocations: 1.465 MB / 2.694 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/7.418, allocations: 194 kB / 2.695 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008631/7.419, allocations: 0.4975 MB / 2.695 GB, free: 137 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/7.419, allocations: 37.78 kB / 2.695 GB, free: 137 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/7.419, allocations: 1.906 kB / 2.695 GB, free: 137 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0009644/7.42, allocations: 357 kB / 2.695 GB, free: 137 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/7.42, allocations: 51.41 kB / 2.695 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/7.421, allocations: 280.8 kB / 2.696 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/7.421, allocations: 37.17 kB / 2.696 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/7.421, allocations: 185.4 kB / 2.696 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/7.421, allocations: 50.33 kB / 2.696 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/7.421, allocations: 3.781 kB / 2.696 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001186/7.421, allocations: 338.3 kB / 2.696 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/7.421, allocations: 88.34 kB / 2.696 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/7.421, allocations: 161.4 kB / 2.697 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/7.422, allocations: 104.5 kB / 2.697 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/7.422, allocations: 0 / 2.697 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005564/7.422, allocations: 278.8 kB / 2.697 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/7.422, allocations: 7.094 kB / 2.697 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/7.422, allocations: 7.672 kB / 2.697 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/7.422, allocations: 0 / 2.697 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/7.423, allocations: 43.77 kB / 2.697 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/7.423, allocations: 10.59 kB / 2.697 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/7.423, allocations: 41.53 kB / 2.697 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/7.423, allocations: 7.781 kB / 2.697 GB, free: 136.2 MB / 0.6042 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.0001695/7.423, allocations: 162.2 kB / 2.697 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/7.423, allocations: 26.72 kB / 2.697 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006867/7.424, allocations: 311.5 kB / 2.698 GB, free: 136 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/7.424, allocations: 4.828 kB / 2.698 GB, free: 136 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/7.424, allocations: 7.531 kB / 2.698 GB, free: 136 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/7.424, allocations: 0 / 2.698 GB, free: 136 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/7.425, allocations: 0.7966 MB / 2.698 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/7.425, allocations: 2.375 kB / 2.698 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/7.425, allocations: 52.06 kB / 2.698 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/7.425, allocations: 7.906 kB / 2.698 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/7.425, allocations: 7.453 kB / 2.698 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/7.425, allocations: 0 / 2.698 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/7.425, allocations: 3.281 kB / 2.698 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/7.426, allocations: 495.1 kB / 2.699 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/7.426, allocations: 139.5 kB / 2.699 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/7.426, allocations: 2.438 kB / 2.699 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/7.427, allocations: 27.92 kB / 2.699 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/7.427, allocations: 21.33 kB / 2.699 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/7.427, allocations: 13.19 kB / 2.699 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002245/7.427, allocations: 220.6 kB / 2.699 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/7.427, allocations: 0 / 2.699 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001179/7.428, allocations: 223.9 kB / 2.699 GB, free: 135.1 MB / 0.6042 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.002826/7.431, allocations: 2.637 MB / 2.702 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004805/7.431, allocations: 220.7 kB / 2.702 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/7.431, allocations: 0 / 2.702 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/7.432, allocations: 121.1 kB / 2.702 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/7.432, allocations: 148.7 kB / 2.703 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/7.434, allocations: 1.934 MB / 2.704 GB, free: 132 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/7.434, allocations: 0.7959 MB / 2.705 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003077/7.435, allocations: 79.47 kB / 2.705 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/7.435, allocations: 99.27 kB / 2.705 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/7.435, allocations: 3.281 kB / 2.705 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05535/7.49, allocations: 28.05 MB / 2.733 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/7.49, allocations: 209 kB / 2.733 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/10.51, allocations: 0 / 2.733 GB, free: 130.2 MB / 0.6042 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)