Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7156/0.7156, allocations: 128.7 MB / 143.7 MB, free: 2.344 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 180.4 kB / 173.7 MB, free: 6.148 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009259/0.0009259, allocations: 90.86 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 9.156 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.982/5.127, allocations: 2.139 GB / 2.774 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/5.128, allocations: 93.81 kB / 2.775 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9912/6.119, allocations: 302.6 MB / 3.07 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.404e-06/6.119, allocations: 4 kB / 3.07 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.875e-05/6.119, allocations: 12 kB / 3.07 GB, free: 141.5 MB / 0.6511 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.001835/6.121, allocations: 0.7551 MB / 3.071 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/6.121, allocations: 15.97 kB / 3.071 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/6.121, allocations: 66.53 kB / 3.071 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/6.122, allocations: 123.5 kB / 3.071 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/6.123, allocations: 349.8 kB / 3.071 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/6.123, allocations: 54.22 kB / 3.071 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/6.123, allocations: 24 kB / 3.071 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/6.124, allocations: 320.7 kB / 3.072 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/6.124, allocations: 0 / 3.072 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/6.124, allocations: 12 kB / 3.072 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/6.124, allocations: 8 kB / 3.072 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/6.124, allocations: 294 kB / 3.072 GB, free: 139.4 MB / 0.6511 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.001589/6.126, allocations: 1.078 MB / 3.073 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/6.126, allocations: 278.7 kB / 3.073 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007965/6.127, allocations: 0.4975 MB / 3.074 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/6.127, allocations: 34.56 kB / 3.074 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/6.127, allocations: 4 kB / 3.074 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0009479/6.128, allocations: 410.9 kB / 3.074 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/6.128, allocations: 59.41 kB / 3.074 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/6.129, allocations: 267.8 kB / 3.075 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/6.129, allocations: 29.7 kB / 3.075 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/6.129, allocations: 168.4 kB / 3.075 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/6.129, allocations: 74.94 kB / 3.075 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/6.129, allocations: 4 kB / 3.075 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/6.129, allocations: 350.8 kB / 3.075 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/6.129, allocations: 103.9 kB / 3.075 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/6.129, allocations: 143 kB / 3.075 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/6.129, allocations: 119.8 kB / 3.075 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/6.129, allocations: 0 / 3.075 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005506/6.13, allocations: 299.9 kB / 3.076 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/6.13, allocations: 12.02 kB / 3.076 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/6.13, allocations: 0 / 3.076 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/6.13, allocations: 4 kB / 3.076 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/6.13, allocations: 47.92 kB / 3.076 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/6.13, allocations: 7.984 kB / 3.076 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/6.131, allocations: 35.77 kB / 3.076 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/6.131, allocations: 12 kB / 3.076 GB, free: 135.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 23 * 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.0001514/6.131, allocations: 157.7 kB / 3.076 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/6.131, allocations: 27.62 kB / 3.076 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/6.132, allocations: 362.8 kB / 3.076 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/6.132, allocations: 0 / 3.076 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/6.132, allocations: 0 / 3.076 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/6.132, allocations: 0 / 3.076 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/6.133, allocations: 0.8587 MB / 3.077 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/6.133, allocations: 0 / 3.077 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/6.133, allocations: 51.91 kB / 3.077 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/6.133, allocations: 4 kB / 3.077 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/6.133, allocations: 4 kB / 3.077 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/6.133, allocations: 7.953 kB / 3.077 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/6.133, allocations: 3.938 kB / 3.077 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007997/6.134, allocations: 0.6507 MB / 3.078 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/6.134, allocations: 112.8 kB / 3.078 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/6.134, allocations: 8 kB / 3.078 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/6.134, allocations: 23.94 kB / 3.078 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/6.135, allocations: 24.03 kB / 3.078 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/6.135, allocations: 15.98 kB / 3.078 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001623/6.135, allocations: 219.1 kB / 3.078 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.81e-07/6.135, allocations: 0 / 3.078 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009444/6.136, allocations: 235.7 kB / 3.079 GB, free: 132.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senS_flow.s_out,senS.s) * 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 (21): * Single equations (assignments): 21 * 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.0029/6.139, allocations: 2.768 MB / 3.081 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004982/6.139, allocations: 254.9 kB / 3.081 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/6.139, allocations: 0 / 3.081 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/6.139, allocations: 140.2 kB / 3.082 GB, free: 129 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/6.14, allocations: 149.3 kB / 3.082 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/6.142, allocations: 1.322 MB / 3.083 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/6.142, allocations: 0.7953 MB / 3.084 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003151/6.142, allocations: 78.83 kB / 3.084 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/6.142, allocations: 99.41 kB / 3.084 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of SimCode: time 4.688e-06/6.142, allocations: 4 kB / 3.084 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/6.191, allocations: 28.5 MB / 3.112 GB, free: 98.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/6.191, allocations: 220.7 kB / 3.112 GB, free: 97.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/9.242, allocations: 0 / 3.112 GB, free: 97.87 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)