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.7612/0.7612, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001363, allocations: 187.7 kB / 169.7 MB, free: 1.73 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.753/1.753, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0008278/0.0008279, allocations: 90.14 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.935e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1794, allocations: 76.77 MB / 0.6283 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.43/6.609, allocations: 2.139 GB / 2.767 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/6.61, allocations: 90.5 kB / 2.767 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.063/7.672, allocations: 302.2 MB / 3.062 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.753e-06/7.672, allocations: 0 / 3.062 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.061e-05/7.672, allocations: 11.98 kB / 3.062 GB, free: 101.7 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.001394/7.674, allocations: 0.7248 MB / 3.063 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/7.674, allocations: 15.91 kB / 3.063 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/7.674, allocations: 58.55 kB / 3.063 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/7.675, allocations: 127.4 kB / 3.063 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/7.675, allocations: 353.8 kB / 3.064 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/7.676, allocations: 54.27 kB / 3.064 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/7.676, allocations: 28 kB / 3.064 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/7.676, allocations: 288.9 kB / 3.064 GB, free: 99.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/7.676, allocations: 0 / 3.064 GB, free: 99.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/7.676, allocations: 12 kB / 3.064 GB, free: 99.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/7.676, allocations: 4 kB / 3.064 GB, free: 99.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/7.677, allocations: 250.2 kB / 3.064 GB, free: 99.67 MB / 0.6511 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.001296/7.678, allocations: 1.086 MB / 3.065 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/7.678, allocations: 254.7 kB / 3.066 GB, free: 98.24 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/7.678, allocations: 112.8 kB / 3.066 GB, free: 98.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/7.679, allocations: 0.4975 MB / 3.066 GB, free: 97.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/7.679, allocations: 34.91 kB / 3.066 GB, free: 97.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/7.679, allocations: 0 / 3.066 GB, free: 97.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0005999/7.68, allocations: 269.2 kB / 3.066 GB, free: 97.22 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/7.68, allocations: 63.3 kB / 3.067 GB, free: 97.15 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/7.68, allocations: 266.7 kB / 3.067 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/7.68, allocations: 29.7 kB / 3.067 GB, free: 96.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/7.68, allocations: 180.5 kB / 3.067 GB, free: 96.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/7.68, allocations: 70.91 kB / 3.067 GB, free: 96.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/7.68, allocations: 4 kB / 3.067 GB, free: 96.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.459e-05/7.68, allocations: 342.8 kB / 3.067 GB, free: 96.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/7.68, allocations: 83.97 kB / 3.067 GB, free: 96.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/7.681, allocations: 120.8 kB / 3.068 GB, free: 96.03 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/7.681, allocations: 92.89 kB / 3.068 GB, free: 95.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/7.681, allocations: 0 / 3.068 GB, free: 95.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003865/7.681, allocations: 272 kB / 3.068 GB, free: 95.67 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/7.681, allocations: 4 kB / 3.068 GB, free: 95.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/7.681, allocations: 0 / 3.068 GB, free: 95.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/7.681, allocations: 4 kB / 3.068 GB, free: 95.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/7.681, allocations: 51.91 kB / 3.068 GB, free: 95.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/7.681, allocations: 0 / 3.068 GB, free: 95.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/7.682, allocations: 47.66 kB / 3.068 GB, free: 95.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/7.682, allocations: 8 kB / 3.068 GB, free: 95.56 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 () * 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 7.007e-05/7.682, allocations: 117 kB / 3.068 GB, free: 95.44 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/7.682, allocations: 35.56 kB / 3.068 GB, free: 95.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005715/7.682, allocations: 326.8 kB / 3.068 GB, free: 95.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/7.682, allocations: 4 kB / 3.068 GB, free: 95.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/7.682, allocations: 0 / 3.068 GB, free: 95.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/7.682, allocations: 0 / 3.068 GB, free: 95.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/7.683, allocations: 0.8199 MB / 3.069 GB, free: 94.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/7.684, allocations: 0 / 3.069 GB, free: 94.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/7.684, allocations: 47.97 kB / 3.069 GB, free: 94.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/7.684, allocations: 8.188 kB / 3.069 GB, free: 94.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/7.684, allocations: 15.94 kB / 3.069 GB, free: 94.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/7.684, allocations: 7.938 kB / 3.069 GB, free: 94.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/7.684, allocations: 0 / 3.069 GB, free: 94.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/7.684, allocations: 0.5849 MB / 3.07 GB, free: 93.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/7.685, allocations: 112.7 kB / 3.07 GB, free: 93.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/7.685, allocations: 16.02 kB / 3.07 GB, free: 93.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/7.685, allocations: 27.97 kB / 3.07 GB, free: 93.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/7.685, allocations: 11.98 kB / 3.07 GB, free: 93.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/7.685, allocations: 19.98 kB / 3.07 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001602/7.685, allocations: 218.2 kB / 3.07 GB, free: 93.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/7.685, allocations: 0 / 3.07 GB, free: 93.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00089/7.686, allocations: 231.8 kB / 3.071 GB, free: 92.8 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 () * 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.002481/7.688, allocations: 2.73 MB / 3.073 GB, free: 89.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003675/7.689, allocations: 210.7 kB / 3.073 GB, free: 89.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/7.689, allocations: 4.062 kB / 3.073 GB, free: 89.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/7.689, allocations: 119.8 kB / 3.074 GB, free: 89.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007733/7.69, allocations: 145 kB / 3.074 GB, free: 89.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/7.691, allocations: 0.6554 MB / 3.074 GB, free: 88.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/7.691, allocations: 0.7953 MB / 3.075 GB, free: 87.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002815/7.692, allocations: 78.83 kB / 3.075 GB, free: 87.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/7.692, allocations: 111.4 kB / 3.075 GB, free: 87.8 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/7.692, allocations: 4 kB / 3.075 GB, free: 87.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/7.741, allocations: 31.95 MB / 3.106 GB, free: 55.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/7.741, allocations: 195.4 kB / 3.107 GB, free: 55.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/10.77, allocations: 0 / 3.107 GB, free: 55.72 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)