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.7093/0.7093, allocations: 127.4 MB / 134.9 MB, free: 3.734 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.001093/0.001093, allocations: 180.8 kB / 164.7 MB, free: 6.527 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.555/1.555, allocations: 205.2 MB / 399.5 MB, free: 5.93 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.001338/0.001338, allocations: 87.52 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.335e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1605, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.831/5.992, allocations: 2.139 GB / 2.76 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/5.992, allocations: 91.11 kB / 2.76 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9488/6.941, allocations: 298.5 MB / 3.052 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/6.941, allocations: 0 / 3.052 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.9e-05/6.941, allocations: 15.98 kB / 3.052 GB, free: 2.375 MB / 0.6355 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.001296/6.942, allocations: 0.7218 MB / 3.053 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/6.942, allocations: 12.03 kB / 3.053 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/6.943, allocations: 123.5 kB / 3.053 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/6.944, allocations: 349.8 kB / 3.053 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/6.944, allocations: 42.27 kB / 3.053 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/6.944, allocations: 19.94 kB / 3.053 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003625/6.944, allocations: 241 kB / 3.053 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/6.945, allocations: 247.7 kB / 3.054 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/6.945, allocations: 0 / 3.054 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/6.945, allocations: 0 / 3.054 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/6.945, allocations: 8 kB / 3.054 GB, free: 0.5352 MB / 0.6355 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.4609/7.406, allocations: 0.9928 MB / 3.055 GB, free: 139 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/7.406, allocations: 243.8 kB / 3.055 GB, free: 139 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/7.407, allocations: 108.8 kB / 3.055 GB, free: 139 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009413/7.408, allocations: 0.5023 MB / 3.055 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/7.408, allocations: 40.86 kB / 3.055 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 3.126e-06/7.408, allocations: 0.625 kB / 3.055 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.001365/7.409, allocations: 323.8 kB / 3.056 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/7.409, allocations: 54.03 kB / 3.056 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/7.409, allocations: 178.6 kB / 3.056 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/7.409, allocations: 25.7 kB / 3.056 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/7.409, allocations: 180.6 kB / 3.056 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/7.41, allocations: 64.41 kB / 3.056 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/7.41, allocations: 3.188 kB / 3.056 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/7.41, allocations: 333.6 kB / 3.057 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/7.41, allocations: 78.59 kB / 3.057 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/7.41, allocations: 120.3 kB / 3.057 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/7.411, allocations: 159.1 kB / 3.057 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/7.411, allocations: 4.219 kB / 3.057 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009014/7.411, allocations: 314.2 kB / 3.057 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/7.412, allocations: 5.125 kB / 3.057 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/7.412, allocations: 1.828 kB / 3.057 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/7.412, allocations: 5.516 kB / 3.057 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/7.412, allocations: 53.38 kB / 3.057 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/7.412, allocations: 0.8125 kB / 3.057 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/7.412, allocations: 25.56 kB / 3.057 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/7.412, allocations: 10.16 kB / 3.057 GB, free: 137.7 MB / 0.6355 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 8.885e-05/7.412, allocations: 119.1 kB / 3.057 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008472/7.413, allocations: 299.4 kB / 3.058 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.144e-05/7.413, allocations: 24.17 kB / 3.058 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000869/7.414, allocations: 341.5 kB / 3.058 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/7.414, allocations: 1.531 kB / 3.058 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/7.414, allocations: 8.969 kB / 3.058 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/7.414, allocations: 1.266 kB / 3.058 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/7.416, allocations: 1.284 MB / 3.059 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/7.416, allocations: 2.953 kB / 3.059 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/7.417, allocations: 52.64 kB / 3.059 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/7.417, allocations: 4.094 kB / 3.059 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/7.417, allocations: 9.547 kB / 3.059 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/7.417, allocations: 4.125 kB / 3.059 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/7.417, allocations: 7.297 kB / 3.059 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/7.418, allocations: 0.6849 MB / 3.06 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/7.418, allocations: 105.2 kB / 3.06 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/7.418, allocations: 11.91 kB / 3.06 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/7.418, allocations: 26.41 kB / 3.06 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/7.418, allocations: 22.03 kB / 3.06 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/7.418, allocations: 12.14 kB / 3.06 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001219/7.419, allocations: 145.2 kB / 3.06 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/7.419, allocations: 1.281 kB / 3.06 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009255/7.419, allocations: 197.8 kB / 3.061 GB, free: 136.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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.003532/7.423, allocations: 3.243 MB / 3.064 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004208/7.423, allocations: 200.4 kB / 3.064 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/7.423, allocations: 1.094 kB / 3.064 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/7.424, allocations: 115.5 kB / 3.064 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/7.424, allocations: 87.42 kB / 3.064 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/7.426, allocations: 0.6443 MB / 3.065 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/7.426, allocations: 0.8025 MB / 3.065 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003021/7.426, allocations: 76.06 kB / 3.066 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/7.426, allocations: 103.2 kB / 3.066 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/7.426, allocations: 0 / 3.066 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/7.478, allocations: 17 MB / 3.082 GB, free: 133.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/7.478, allocations: 170.7 kB / 3.082 GB, free: 133 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/9.876, allocations: 2.25 kB / 3.082 GB, free: 133 MB / 0.6355 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)