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.8036/0.8036, allocations: 143.3 MB / 158.3 MB, free: 5.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 181 kB / 191.5 MB, free: 5.75 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.531/1.531, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.001151/0.001151, allocations: 92.27 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002554/0.002554, allocations: 276.7 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.000472, allocations: 18.44 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2003, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.513/4.713, allocations: 1.829 GB / 2.603 GB, free: 248.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004175/4.714, allocations: 87.52 kB / 2.603 GB, free: 248.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.173/5.887, allocations: 306.8 MB / 2.903 GB, free: 189.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.545e-06/5.887, allocations: 2.75 kB / 2.903 GB, free: 189.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.447e-05/5.887, allocations: 10.94 kB / 2.903 GB, free: 189.3 MB / 0.7136 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.001808/5.889, allocations: 0.7621 MB / 2.904 GB, free: 188.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/5.889, allocations: 6.469 kB / 2.904 GB, free: 188.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.824e-05/5.889, allocations: 65.88 kB / 2.904 GB, free: 188.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/5.89, allocations: 121.1 kB / 2.904 GB, free: 188.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/5.891, allocations: 338.6 kB / 2.904 GB, free: 188.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.782e-05/5.891, allocations: 63.66 kB / 2.904 GB, free: 188.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/5.891, allocations: 24.66 kB / 2.904 GB, free: 188.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006076/5.892, allocations: 357.8 kB / 2.904 GB, free: 188.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/5.892, allocations: 4.906 kB / 2.904 GB, free: 188.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/5.892, allocations: 7.25 kB / 2.904 GB, free: 188.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/5.892, allocations: 7.812 kB / 2.905 GB, free: 188.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/5.892, allocations: 269.9 kB / 2.905 GB, free: 188.4 MB / 0.7136 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.001759/5.894, allocations: 1.474 MB / 2.906 GB, free: 187.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/5.894, allocations: 188.5 kB / 2.906 GB, free: 187.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008383/5.895, allocations: 0.5007 MB / 2.907 GB, free: 187 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/5.895, allocations: 38.14 kB / 2.907 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.925e-06/5.895, allocations: 0 / 2.907 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0009031/5.896, allocations: 353 kB / 2.907 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/5.896, allocations: 57.77 kB / 2.907 GB, free: 186.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/5.897, allocations: 282.6 kB / 2.908 GB, free: 186.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/5.897, allocations: 28.58 kB / 2.908 GB, free: 186.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/5.897, allocations: 187.2 kB / 2.908 GB, free: 186.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/5.897, allocations: 56.23 kB / 2.908 GB, free: 186.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/5.897, allocations: 0 / 2.908 GB, free: 186.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001242/5.897, allocations: 342.7 kB / 2.908 GB, free: 186.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/5.897, allocations: 88.42 kB / 2.908 GB, free: 186.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/5.897, allocations: 157 kB / 2.908 GB, free: 186.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/5.898, allocations: 102.8 kB / 2.908 GB, free: 186.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/5.898, allocations: 0 / 2.908 GB, free: 186.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005112/5.898, allocations: 289.7 kB / 2.909 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/5.898, allocations: 6.812 kB / 2.909 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/5.898, allocations: 3.906 kB / 2.909 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/5.898, allocations: 0 / 2.909 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/5.898, allocations: 50.77 kB / 2.909 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/5.898, allocations: 0 / 2.909 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/5.899, allocations: 45.64 kB / 2.909 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/5.899, allocations: 14.91 kB / 2.909 GB, free: 186.1 MB / 0.7136 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.0001637/5.899, allocations: 150.7 kB / 2.909 GB, free: 186 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/5.899, allocations: 33.8 kB / 2.909 GB, free: 186 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/5.9, allocations: 316.6 kB / 2.909 GB, free: 185.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/5.9, allocations: 0 / 2.909 GB, free: 185.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/5.9, allocations: 3.438 kB / 2.909 GB, free: 185.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/5.9, allocations: 3.609 kB / 2.909 GB, free: 185.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/5.901, allocations: 0.7967 MB / 2.91 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/5.901, allocations: 0 / 2.91 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/5.901, allocations: 46.89 kB / 2.91 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/5.901, allocations: 3.938 kB / 2.91 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/5.901, allocations: 11.62 kB / 2.91 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/5.901, allocations: 3.938 kB / 2.91 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/5.901, allocations: 0 / 2.91 GB, free: 185.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/5.902, allocations: 493.1 kB / 2.911 GB, free: 185.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/5.902, allocations: 135 kB / 2.911 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/5.902, allocations: 10.62 kB / 2.911 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/5.902, allocations: 29.5 kB / 2.911 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/5.902, allocations: 13.62 kB / 2.911 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/5.902, allocations: 21.27 kB / 2.911 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002008/5.903, allocations: 224.7 kB / 2.911 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/5.903, allocations: 0 / 2.911 GB, free: 185.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001044/5.904, allocations: 222.8 kB / 2.911 GB, free: 185.1 MB / 0.7136 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.003062/5.907, allocations: 2.638 MB / 2.914 GB, free: 183.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006046/5.907, allocations: 215.8 kB / 2.914 GB, free: 183.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/5.907, allocations: 3.531 kB / 2.914 GB, free: 183.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/5.908, allocations: 118.8 kB / 2.914 GB, free: 183.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/5.908, allocations: 149.5 kB / 2.914 GB, free: 183.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/5.91, allocations: 1.935 MB / 2.916 GB, free: 181.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/5.911, allocations: 0.7922 MB / 2.917 GB, free: 181.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003211/5.911, allocations: 77.95 kB / 2.917 GB, free: 181.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/5.911, allocations: 102 kB / 2.917 GB, free: 181.2 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/5.911, allocations: 0 / 2.917 GB, free: 181.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06946/5.981, allocations: 28.07 MB / 2.945 GB, free: 176.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/5.981, allocations: 234.2 kB / 2.945 GB, free: 176.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.367/9.348, allocations: 0 / 2.945 GB, free: 176.1 MB / 0.7136 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)