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 1.093/1.093, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001094/0.001094, allocations: 176.8 kB / 182.2 MB, free: 9.43 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.558/1.558, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009512/0.0009513, allocations: 97.47 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001933, allocations: 279.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.582e-05, allocations: 8 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.505/0.505, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.999/5.504, allocations: 1.829 GB / 2.586 GB, free: 189.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/5.505, allocations: 89.12 kB / 2.586 GB, free: 189.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.211/6.716, allocations: 302.9 MB / 2.882 GB, free: 173.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/6.716, allocations: 2.953 kB / 2.882 GB, free: 173.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.334e-05/6.716, allocations: 14.03 kB / 2.882 GB, free: 173.2 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.001803/6.718, allocations: 0.7135 MB / 2.883 GB, free: 172.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/6.718, allocations: 8.031 kB / 2.883 GB, free: 172.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/6.719, allocations: 129.9 kB / 2.883 GB, free: 172.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/6.72, allocations: 339.3 kB / 2.883 GB, free: 172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/6.72, allocations: 38.27 kB / 2.883 GB, free: 171.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/6.72, allocations: 17.89 kB / 2.883 GB, free: 171.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000351/6.72, allocations: 205.1 kB / 2.883 GB, free: 171.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/6.721, allocations: 297.1 kB / 2.884 GB, free: 171.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/6.721, allocations: 0 / 2.884 GB, free: 171.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/6.721, allocations: 0 / 2.884 GB, free: 171.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/6.721, allocations: 8 kB / 2.884 GB, free: 171.4 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.001507/6.722, allocations: 1.401 MB / 2.885 GB, free: 169.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/6.723, allocations: 166.5 kB / 2.885 GB, free: 169.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/6.723, allocations: 92.81 kB / 2.885 GB, free: 169.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008133/6.724, allocations: 0.5014 MB / 2.886 GB, free: 169 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/6.724, allocations: 34.52 kB / 2.886 GB, free: 169 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/6.724, allocations: 0 / 2.886 GB, free: 169 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0008929/6.725, allocations: 261.2 kB / 2.886 GB, free: 168.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/6.725, allocations: 55.69 kB / 2.886 GB, free: 168.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/6.725, allocations: 202 kB / 2.886 GB, free: 168.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/6.725, allocations: 29.7 kB / 2.886 GB, free: 168.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/6.725, allocations: 196 kB / 2.886 GB, free: 168.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/6.725, allocations: 47.2 kB / 2.886 GB, free: 168.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/6.725, allocations: 0 / 2.886 GB, free: 168.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/6.725, allocations: 338.8 kB / 2.887 GB, free: 167.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.096e-05/6.725, allocations: 63.97 kB / 2.887 GB, free: 167.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/6.725, allocations: 127.7 kB / 2.887 GB, free: 167.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/6.726, allocations: 127.8 kB / 2.887 GB, free: 167.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/6.726, allocations: 4 kB / 2.887 GB, free: 167.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000643/6.726, allocations: 266.8 kB / 2.887 GB, free: 167.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/6.726, allocations: 8 kB / 2.887 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/6.726, allocations: 3.984 kB / 2.887 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/6.726, allocations: 4 kB / 2.887 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/6.727, allocations: 39.92 kB / 2.887 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/6.727, allocations: 4 kB / 2.887 GB, free: 167.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/6.727, allocations: 36 kB / 2.887 GB, free: 167.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/6.727, allocations: 12 kB / 2.887 GB, free: 167.1 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 7.925e-05/6.727, allocations: 108.9 kB / 2.888 GB, free: 167 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005997/6.728, allocations: 246.7 kB / 2.888 GB, free: 166.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/6.728, allocations: 23.8 kB / 2.888 GB, free: 166.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/6.728, allocations: 283.4 kB / 2.888 GB, free: 166.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/6.728, allocations: 4 kB / 2.888 GB, free: 166.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/6.728, allocations: 0 / 2.888 GB, free: 166.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/6.728, allocations: 0 / 2.888 GB, free: 166.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/6.73, allocations: 1.222 MB / 2.889 GB, free: 165.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/6.73, allocations: 352 / 2.889 GB, free: 165.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/6.73, allocations: 55.83 kB / 2.889 GB, free: 165 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/6.73, allocations: 7.938 kB / 2.889 GB, free: 165 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/6.73, allocations: 4 kB / 2.889 GB, free: 165 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/6.73, allocations: 4 kB / 2.889 GB, free: 165 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/6.73, allocations: 7.953 kB / 2.889 GB, free: 165 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/6.731, allocations: 0.524 MB / 2.89 GB, free: 164.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/6.731, allocations: 128.7 kB / 2.89 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/6.731, allocations: 4 kB / 2.89 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/6.731, allocations: 23.97 kB / 2.89 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/6.732, allocations: 27.88 kB / 2.89 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/6.732, allocations: 12 kB / 2.89 GB, free: 164.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.472e-05/6.732, allocations: 154 kB / 2.89 GB, free: 164 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.732, allocations: 0 / 2.89 GB, free: 164 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007956/6.732, allocations: 199.6 kB / 2.89 GB, free: 163.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.002968/6.735, allocations: 3.106 MB / 2.893 GB, free: 160.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003163/6.736, allocations: 178.7 kB / 2.894 GB, free: 160.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/6.736, allocations: 4 kB / 2.894 GB, free: 160.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/6.736, allocations: 92.77 kB / 2.894 GB, free: 160.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/6.737, allocations: 89.12 kB / 2.894 GB, free: 160.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/6.738, allocations: 0.5103 MB / 2.894 GB, free: 159.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/6.738, allocations: 0.7912 MB / 2.895 GB, free: 159 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002566/6.738, allocations: 77.84 kB / 2.895 GB, free: 158.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/6.738, allocations: 99.39 kB / 2.895 GB, free: 158.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/6.738, allocations: 0 / 2.895 GB, free: 158.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/6.785, allocations: 16.62 MB / 2.911 GB, free: 142.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/6.785, allocations: 178.4 kB / 2.912 GB, free: 142.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/9.358, allocations: 0 / 2.912 GB, free: 142.1 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)