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.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 188.3 kB / 326.5 MB, free: 2.211 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.962/1.962, allocations: 205.4 MB / 0.5775 GB, free: 20.47 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.0008997/0.0008997, allocations: 95.11 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 8.844 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2652, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.311/5.576, allocations: 2.182 GB / 3.082 GB, free: 39.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/5.576, allocations: 91.95 kB / 3.082 GB, free: 39.43 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.176/6.753, allocations: 294.8 MB / 3.37 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.266e-06/6.753, allocations: 0 / 3.37 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.459e-05/6.753, allocations: 19.92 kB / 3.37 GB, free: 103.7 MB / 0.8855 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.002331/6.755, allocations: 0.7603 MB / 3.371 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/6.755, allocations: 8.031 kB / 3.371 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/6.755, allocations: 66.53 kB / 3.371 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/6.757, allocations: 124 kB / 3.371 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008777/6.758, allocations: 358 kB / 3.371 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-05/6.758, allocations: 46.27 kB / 3.371 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/6.758, allocations: 28 kB / 3.371 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/6.759, allocations: 320.7 kB / 3.372 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/6.759, allocations: 0 / 3.372 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/6.759, allocations: 12 kB / 3.372 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/6.759, allocations: 4 kB / 3.372 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/6.759, allocations: 286.1 kB / 3.372 GB, free: 101.6 MB / 0.8855 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.002303/6.762, allocations: 1.09 MB / 3.373 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/6.762, allocations: 255.1 kB / 3.373 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008727/6.763, allocations: 0.5015 MB / 3.374 GB, free: 99.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/6.763, allocations: 34.73 kB / 3.374 GB, free: 99.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 2.585e-06/6.763, allocations: 4 kB / 3.374 GB, free: 99.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.001042/6.764, allocations: 419.4 kB / 3.374 GB, free: 99.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/6.764, allocations: 55.36 kB / 3.374 GB, free: 99.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/6.765, allocations: 267.7 kB / 3.375 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/6.765, allocations: 33.7 kB / 3.375 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/6.765, allocations: 172.4 kB / 3.375 GB, free: 98.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/6.765, allocations: 74.88 kB / 3.375 GB, free: 98.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/6.765, allocations: 4 kB / 3.375 GB, free: 98.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001196/6.765, allocations: 342.8 kB / 3.375 GB, free: 98.13 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/6.765, allocations: 111.9 kB / 3.375 GB, free: 98.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/6.765, allocations: 143.7 kB / 3.375 GB, free: 97.87 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/6.766, allocations: 115.9 kB / 3.375 GB, free: 97.76 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/6.766, allocations: 0 / 3.375 GB, free: 97.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005672/6.766, allocations: 309.1 kB / 3.376 GB, free: 97.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/6.766, allocations: 8 kB / 3.376 GB, free: 97.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/6.766, allocations: 0 / 3.376 GB, free: 97.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/6.766, allocations: 0 / 3.376 GB, free: 97.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/6.767, allocations: 55.91 kB / 3.376 GB, free: 97.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/6.767, allocations: 0 / 3.376 GB, free: 97.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/6.767, allocations: 47.67 kB / 3.376 GB, free: 97.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/6.767, allocations: 12 kB / 3.376 GB, free: 97.33 MB / 0.8855 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 () * Number of clocked 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 0.0001626/6.767, allocations: 157.7 kB / 3.376 GB, free: 97.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/6.767, allocations: 27.62 kB / 3.376 GB, free: 97.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/6.768, allocations: 363.8 kB / 3.376 GB, free: 96.78 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/6.768, allocations: 4 kB / 3.376 GB, free: 96.78 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/6.768, allocations: 7.938 kB / 3.376 GB, free: 96.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/6.768, allocations: 0 / 3.376 GB, free: 96.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/6.769, allocations: 0.8684 MB / 3.377 GB, free: 95.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/6.769, allocations: 4 kB / 3.377 GB, free: 95.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/6.77, allocations: 51.91 kB / 3.377 GB, free: 95.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/6.77, allocations: 7.953 kB / 3.377 GB, free: 95.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/6.77, allocations: 12.2 kB / 3.377 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/6.77, allocations: 4 kB / 3.377 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/6.77, allocations: 3.938 kB / 3.377 GB, free: 95.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009215/6.771, allocations: 0.6693 MB / 3.378 GB, free: 94.99 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/6.771, allocations: 144.7 kB / 3.378 GB, free: 94.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/6.771, allocations: 4 kB / 3.378 GB, free: 94.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/6.771, allocations: 39.97 kB / 3.378 GB, free: 94.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/6.771, allocations: 19.97 kB / 3.378 GB, free: 94.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/6.771, allocations: 8 kB / 3.378 GB, free: 94.76 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001966/6.772, allocations: 223 kB / 3.378 GB, free: 94.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.61e-07/6.772, allocations: 4 kB / 3.378 GB, free: 94.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001041/6.773, allocations: 235.8 kB / 3.379 GB, free: 94.31 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.003583/6.776, allocations: 2.839 MB / 3.381 GB, free: 91.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005825/6.777, allocations: 251.5 kB / 3.382 GB, free: 91.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/6.777, allocations: 0 / 3.382 GB, free: 91.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/6.777, allocations: 147.9 kB / 3.382 GB, free: 90.99 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008509/6.778, allocations: 145.3 kB / 3.382 GB, free: 90.85 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/6.78, allocations: 1.495 MB / 3.383 GB, free: 89.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/6.78, allocations: 0.7953 MB / 3.384 GB, free: 88.45 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003754/6.781, allocations: 86.81 kB / 3.384 GB, free: 88.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/6.781, allocations: 99.41 kB / 3.384 GB, free: 88.27 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/6.781, allocations: 0 / 3.384 GB, free: 88.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/6.831, allocations: 28.37 MB / 3.412 GB, free: 60.06 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/6.831, allocations: 223.3 kB / 3.412 GB, free: 59.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.064/9.895, allocations: 0 / 3.412 GB, free: 59.82 MB / 0.8855 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)