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.425/1.425, allocations: 249.3 MB / 261.9 MB, free: 5.812 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.001093/0.001093, allocations: 185.7 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008371/0.0008372, allocations: 94.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.446e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2452, allocations: 106.3 MB / 0.8919 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.952/6.198, allocations: 2.182 GB / 3.074 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/6.198, allocations: 86.45 kB / 3.074 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.253/7.451, allocations: 294.5 MB / 3.361 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.034e-06/7.451, allocations: 0 / 3.361 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.417e-05/7.451, allocations: 8 kB / 3.361 GB, free: 199.1 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.001645/7.453, allocations: 0.7252 MB / 3.362 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/7.453, allocations: 12.03 kB / 3.362 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.957e-05/7.453, allocations: 58.55 kB / 3.362 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/7.454, allocations: 129.7 kB / 3.362 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/7.454, allocations: 357.8 kB / 3.363 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-05/7.455, allocations: 54.25 kB / 3.363 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/7.455, allocations: 31.95 kB / 3.363 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/7.455, allocations: 288.8 kB / 3.363 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/7.455, allocations: 0 / 3.363 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/7.455, allocations: 12 kB / 3.363 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/7.455, allocations: 4 kB / 3.363 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/7.456, allocations: 242.2 kB / 3.363 GB, free: 197.1 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.001372/7.457, allocations: 1.09 MB / 3.364 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/7.457, allocations: 239.2 kB / 3.364 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/7.458, allocations: 117.2 kB / 3.365 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/7.458, allocations: 0.4977 MB / 3.365 GB, free: 195 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/7.458, allocations: 30.75 kB / 3.365 GB, free: 195 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/7.458, allocations: 0 / 3.365 GB, free: 195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0006201/7.459, allocations: 277.2 kB / 3.365 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/7.459, allocations: 63.34 kB / 3.365 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/7.459, allocations: 270.7 kB / 3.366 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/7.459, allocations: 25.7 kB / 3.366 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/7.459, allocations: 172.5 kB / 3.366 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/7.459, allocations: 74.94 kB / 3.366 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/7.459, allocations: 4 kB / 3.366 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.501e-05/7.46, allocations: 338.8 kB / 3.366 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/7.46, allocations: 83.95 kB / 3.366 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/7.46, allocations: 139.4 kB / 3.366 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/7.46, allocations: 103.1 kB / 3.367 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/7.46, allocations: 3.953 kB / 3.367 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003905/7.46, allocations: 269.1 kB / 3.367 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/7.46, allocations: 8 kB / 3.367 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/7.46, allocations: 0 / 3.367 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/7.46, allocations: 8.062 kB / 3.367 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/7.461, allocations: 47.91 kB / 3.367 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/7.461, allocations: 0 / 3.367 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/7.461, allocations: 43.67 kB / 3.367 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/7.461, allocations: 15.98 kB / 3.367 GB, free: 193 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 8.078e-05/7.461, allocations: 120.9 kB / 3.367 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/7.461, allocations: 35.58 kB / 3.367 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006113/7.462, allocations: 324.3 kB / 3.367 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/7.462, allocations: 0 / 3.367 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/7.462, allocations: 4 kB / 3.367 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/7.462, allocations: 0 / 3.367 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/7.463, allocations: 0.8369 MB / 3.368 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/7.463, allocations: 4 kB / 3.368 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/7.463, allocations: 47.91 kB / 3.368 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/7.463, allocations: 4 kB / 3.368 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/7.463, allocations: 11.98 kB / 3.368 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/7.463, allocations: 4 kB / 3.368 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/7.463, allocations: 4.156 kB / 3.368 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/7.464, allocations: 0.6216 MB / 3.369 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/7.464, allocations: 144.6 kB / 3.369 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/7.464, allocations: 7.938 kB / 3.369 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/7.464, allocations: 39.98 kB / 3.369 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/7.464, allocations: 19.86 kB / 3.369 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/7.464, allocations: 19.98 kB / 3.369 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000172/7.465, allocations: 210.2 kB / 3.369 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/7.465, allocations: 4 kB / 3.369 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009582/7.466, allocations: 239.8 kB / 3.37 GB, free: 190.1 MB / 0.8698 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 () * 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.002784/7.468, allocations: 2.774 MB / 3.372 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004386/7.469, allocations: 217.9 kB / 3.372 GB, free: 187 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/7.469, allocations: 0 / 3.372 GB, free: 187 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/7.469, allocations: 120.3 kB / 3.373 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/7.47, allocations: 165.5 kB / 3.373 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/7.471, allocations: 0.6699 MB / 3.373 GB, free: 186 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/7.472, allocations: 0.7991 MB / 3.374 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003539/7.472, allocations: 82.88 kB / 3.374 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/7.472, allocations: 99.41 kB / 3.374 GB, free: 185 MB / 0.8698 GB Notification: Performance of SimCode: time 6.12e-07/7.472, allocations: 4 kB / 3.374 GB, free: 185 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/7.524, allocations: 31.84 MB / 3.405 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/7.524, allocations: 193.7 kB / 3.406 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.045/10.57, allocations: 0 / 3.406 GB, free: 153.1 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)