Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 249.5 MB / 257 MB, free: 6.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 175.5 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009512/0.0009511, allocations: 90.53 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.757e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2078, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.843/6.051, allocations: 2.182 GB / 3.067 GB, free: 182 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/6.051, allocations: 86.7 kB / 3.067 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.052/7.103, allocations: 290.8 MB / 3.351 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.392e-06/7.103, allocations: 1.203 kB / 3.351 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.817e-05/7.103, allocations: 11.08 kB / 3.351 GB, free: 234.6 MB / 0.8698 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.001317/7.104, allocations: 0.726 MB / 3.352 GB, free: 234 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/7.104, allocations: 11.22 kB / 3.352 GB, free: 234 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009635/7.105, allocations: 122.3 kB / 3.352 GB, free: 234 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/7.106, allocations: 351.3 kB / 3.353 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/7.106, allocations: 37.86 kB / 3.353 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/7.106, allocations: 15.31 kB / 3.353 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003361/7.106, allocations: 236.3 kB / 3.353 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/7.106, allocations: 247.8 kB / 3.353 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/7.107, allocations: 3.953 kB / 3.353 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/7.107, allocations: 0 / 3.353 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/7.107, allocations: 6.062 kB / 3.353 GB, free: 233.4 MB / 0.8698 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.001248/7.108, allocations: 1.002 MB / 3.354 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/7.108, allocations: 232.1 kB / 3.354 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/7.108, allocations: 114.9 kB / 3.354 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000685/7.109, allocations: 0.5017 MB / 3.355 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/7.109, allocations: 42.64 kB / 3.355 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 1.542e-06/7.109, allocations: 0 / 3.355 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0009404/7.11, allocations: 328.7 kB / 3.355 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/7.11, allocations: 55.34 kB / 3.355 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/7.11, allocations: 185 kB / 3.356 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/7.11, allocations: 25.7 kB / 3.356 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/7.11, allocations: 179.4 kB / 3.356 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/7.11, allocations: 69.19 kB / 3.356 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/7.11, allocations: 0 / 3.356 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/7.11, allocations: 342.7 kB / 3.356 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/7.111, allocations: 72.47 kB / 3.356 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/7.111, allocations: 132.5 kB / 3.356 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/7.111, allocations: 159 kB / 3.356 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/7.111, allocations: 0 / 3.356 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006932/7.112, allocations: 319.4 kB / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/7.112, allocations: 3.844 kB / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/7.112, allocations: 3.844 kB / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/7.112, allocations: 3.953 kB / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/7.112, allocations: 49.75 kB / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/7.112, allocations: 3.469 kB / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/7.112, allocations: 23.11 kB / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/7.112, allocations: 19.11 kB / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.052e-05/7.113, allocations: 112.6 kB / 3.357 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006796/7.113, allocations: 303.8 kB / 3.357 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/7.113, allocations: 29.83 kB / 3.357 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/7.114, allocations: 347 kB / 3.358 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/7.114, allocations: 3.906 kB / 3.358 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/7.114, allocations: 3.938 kB / 3.358 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/7.114, allocations: 0 / 3.358 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/7.116, allocations: 1.308 MB / 3.359 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/7.116, allocations: 3.844 kB / 3.359 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/7.116, allocations: 56.28 kB / 3.359 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/7.116, allocations: 3.75 kB / 3.359 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/7.116, allocations: 7.812 kB / 3.359 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/7.116, allocations: 8.234 kB / 3.359 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/7.116, allocations: 7.406 kB / 3.359 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/7.117, allocations: 0.7126 MB / 3.36 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/7.117, allocations: 136.2 kB / 3.36 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/7.117, allocations: 3.906 kB / 3.36 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/7.117, allocations: 22.17 kB / 3.36 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/7.117, allocations: 31.05 kB / 3.36 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/7.117, allocations: 14.45 kB / 3.36 GB, free: 228 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.507e-05/7.118, allocations: 145.9 kB / 3.36 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.118, allocations: 4 kB / 3.36 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006722/7.118, allocations: 205.4 kB / 3.36 GB, free: 227.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 22 * 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.002509/7.121, allocations: 3.294 MB / 3.363 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003022/7.121, allocations: 211.1 kB / 3.364 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/7.121, allocations: 0 / 3.364 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/7.121, allocations: 116 kB / 3.364 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/7.122, allocations: 109.6 kB / 3.364 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/7.123, allocations: 0.66 MB / 3.364 GB, free: 224.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/7.123, allocations: 0.8058 MB / 3.365 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002783/7.123, allocations: 63.52 kB / 3.365 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/7.123, allocations: 97.59 kB / 3.365 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.91e-07/7.123, allocations: 0 / 3.365 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/7.158, allocations: 16.9 MB / 3.382 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/7.158, allocations: 176.1 kB / 3.382 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/9.399, allocations: 0 / 3.382 GB, free: 208.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)