Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7016/0.7016, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007654/0.0007654, allocations: 97.83 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001647/0.001647, allocations: 269 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.524e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3499, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.522/3.872, allocations: 1.829 GB / 2.594 GB, free: 177 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/3.873, allocations: 87.19 kB / 2.594 GB, free: 177 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8503/4.723, allocations: 306.5 MB / 2.893 GB, free: 154.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/4.723, allocations: 4 kB / 2.893 GB, free: 154.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.477e-05/4.723, allocations: 7.938 kB / 2.893 GB, free: 154.8 MB / 0.698 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.0009793/4.724, allocations: 0.7137 MB / 2.894 GB, free: 154.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/4.724, allocations: 8.031 kB / 2.894 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/4.724, allocations: 74.47 kB / 2.894 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/4.725, allocations: 117.9 kB / 2.894 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/4.725, allocations: 337.9 kB / 2.894 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/4.726, allocations: 47.98 kB / 2.894 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/4.726, allocations: 28 kB / 2.894 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/4.726, allocations: 334.2 kB / 2.895 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/4.726, allocations: 0 / 2.895 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/4.726, allocations: 15.98 kB / 2.895 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/4.726, allocations: 11.95 kB / 2.895 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/4.726, allocations: 226.1 kB / 2.895 GB, free: 152.8 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00117/4.727, allocations: 1.473 MB / 2.896 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/4.728, allocations: 175.6 kB / 2.896 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/4.728, allocations: 104.8 kB / 2.897 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/4.728, allocations: 0.4975 MB / 2.897 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/4.729, allocations: 46.5 kB / 2.897 GB, free: 150.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/4.729, allocations: 0 / 2.897 GB, free: 150.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0004775/4.729, allocations: 227.3 kB / 2.897 GB, free: 150.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/4.729, allocations: 51.41 kB / 2.897 GB, free: 150 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/4.729, allocations: 283 kB / 2.898 GB, free: 149.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/4.729, allocations: 33.7 kB / 2.898 GB, free: 149.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/4.729, allocations: 180.1 kB / 2.898 GB, free: 149.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/4.729, allocations: 55.2 kB / 2.898 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/4.729, allocations: 4 kB / 2.898 GB, free: 149.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.058e-05/4.729, allocations: 338.8 kB / 2.898 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/4.73, allocations: 71.95 kB / 2.898 GB, free: 149 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/4.73, allocations: 143.6 kB / 2.898 GB, free: 148.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/4.73, allocations: 83.94 kB / 2.899 GB, free: 148.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/4.73, allocations: 4 kB / 2.899 GB, free: 148.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000333/4.73, allocations: 242.4 kB / 2.899 GB, free: 148.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/4.73, allocations: 8.625 kB / 2.899 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/4.73, allocations: 0 / 2.899 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/4.73, allocations: 7.984 kB / 2.899 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/4.73, allocations: 39.92 kB / 2.899 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/4.73, allocations: 12.12 kB / 2.899 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/4.731, allocations: 39.72 kB / 2.899 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/4.731, allocations: 16 kB / 2.899 GB, free: 148.4 MB / 0.698 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 () * 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 5.902e-05/4.731, allocations: 117.7 kB / 2.899 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/4.731, allocations: 27.62 kB / 2.899 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/4.731, allocations: 280.5 kB / 2.899 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/4.731, allocations: 0 / 2.899 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/4.731, allocations: 0 / 2.899 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/4.731, allocations: 0 / 2.899 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008315/4.732, allocations: 0.7731 MB / 2.9 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/4.732, allocations: 224 / 2.9 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/4.732, allocations: 43.97 kB / 2.9 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/4.732, allocations: 0 / 2.9 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/4.732, allocations: 4 kB / 2.9 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/4.732, allocations: 7.938 kB / 2.9 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/4.732, allocations: 7.953 kB / 2.9 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/4.733, allocations: 452.9 kB / 2.901 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/4.733, allocations: 136.7 kB / 2.901 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/4.733, allocations: 11.95 kB / 2.901 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/4.733, allocations: 28.02 kB / 2.901 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/4.733, allocations: 23.91 kB / 2.901 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/4.733, allocations: 8.062 kB / 2.901 GB, free: 146.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001384/4.733, allocations: 222.2 kB / 2.901 GB, free: 146.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/4.733, allocations: 4 kB / 2.901 GB, free: 146.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000636/4.734, allocations: 219.9 kB / 2.901 GB, free: 145.9 MB / 0.698 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 () * 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.001662/4.736, allocations: 2.595 MB / 2.904 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002542/4.736, allocations: 189.2 kB / 2.904 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/4.736, allocations: 4.062 kB / 2.904 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/4.736, allocations: 99.83 kB / 2.904 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/4.737, allocations: 148.3 kB / 2.904 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/4.737, allocations: 0.5271 MB / 2.905 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/4.738, allocations: 0.7953 MB / 2.905 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002411/4.738, allocations: 86.86 kB / 2.905 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/4.738, allocations: 91.41 kB / 2.906 GB, free: 141.2 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/4.738, allocations: 192 / 2.906 GB, free: 141.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/4.773, allocations: 31.56 MB / 2.936 GB, free: 109.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001237/4.773, allocations: 192.5 kB / 2.937 GB, free: 109.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/7.37, allocations: 3.938 kB / 2.937 GB, free: 109.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)