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.361/1.361, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009247/0.0009247, allocations: 183.3 kB / 325.9 MB, free: 2.688 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.763/1.763, allocations: 205 MB / 0.576 GB, free: 21.01 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.000888/0.000888, allocations: 97.86 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 13.2 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2363, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7149/0.9513, allocations: 167 MB / 1.059 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00825/0.9596, allocations: 7.266 MB / 1.066 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006423/0.9603, allocations: 11.7 kB / 1.066 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.9608, allocations: 135.5 kB / 1.067 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.9642, allocations: 1.193 MB / 1.068 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.966, allocations: 0.5716 MB / 1.068 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.9678, allocations: 1.08 MB / 1.069 GB, free: 1.715 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.9683, allocations: 252.2 kB / 1.07 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.9699, allocations: 0.5344 MB / 1.07 GB, free: 1.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.971, allocations: 425.6 kB / 1.07 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.457e-05/0.9711, allocations: 17.12 kB / 1.07 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.9747, allocations: 1.466 MB / 1.072 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.975, allocations: 110.3 kB / 1.072 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.9753, allocations: 169.6 kB / 1.072 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.9774, allocations: 0.9878 MB / 1.073 GB, free: 1.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.9774, allocations: 4.875 kB / 1.073 GB, free: 1.617 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9774, allocations: 1.859 kB / 1.073 GB, free: 1.617 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.9774, allocations: 0 / 1.073 GB, free: 1.617 MB / 0.698 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.001287/0.9787, allocations: 0.6413 MB / 1.074 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.9788, allocations: 13.78 kB / 1.074 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.527e-05/0.9789, allocations: 61.12 kB / 1.074 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.9799, allocations: 134.3 kB / 1.074 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.9805, allocations: 335.7 kB / 1.074 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.9806, allocations: 51.39 kB / 1.074 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.9806, allocations: 25.69 kB / 1.074 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.9813, allocations: 333.9 kB / 1.075 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.9814, allocations: 0 / 1.075 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.9814, allocations: 11 kB / 1.075 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.9814, allocations: 11.5 kB / 1.075 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006807/0.9821, allocations: 299.5 kB / 1.075 GB, free: 16.75 MB / 0.7136 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.002002/0.9841, allocations: 1.111 MB / 1.076 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.9848, allocations: 275.2 kB / 1.076 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.985, allocations: 146.2 kB / 1.076 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.9861, allocations: 0.526 MB / 1.077 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.9861, allocations: 31.72 kB / 1.077 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.9861, allocations: 0 / 1.077 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.001123/0.9873, allocations: 446.1 kB / 1.077 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.9873, allocations: 56.94 kB / 1.078 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.9877, allocations: 307 kB / 1.078 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.9877, allocations: 31.95 kB / 1.078 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.9878, allocations: 172.5 kB / 1.078 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.9879, allocations: 73.91 kB / 1.078 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.9879, allocations: 25.36 kB / 1.078 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9881, allocations: 344.1 kB / 1.078 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.9883, allocations: 108.4 kB / 1.079 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.9886, allocations: 151 kB / 1.079 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.9891, allocations: 260.1 kB / 1.079 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9891, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006351/0.9897, allocations: 326.3 kB / 1.079 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.9897, allocations: 5.312 kB / 1.079 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9898, allocations: 5.062 kB / 1.079 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.9898, allocations: 6.25 kB / 1.079 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.99, allocations: 52.11 kB / 1.079 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.99, allocations: 5.469 kB / 1.079 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.9903, allocations: 34.05 kB / 1.079 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.9904, allocations: 15.14 kB / 1.079 GB, free: 14.81 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.9905, allocations: 150.5 kB / 1.079 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.9906, allocations: 33.25 kB / 1.08 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/0.9914, allocations: 386.6 kB / 1.08 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9915, allocations: 1.312 kB / 1.08 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9915, allocations: 5.25 kB / 1.08 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9915, allocations: 0 / 1.08 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.9929, allocations: 0.9037 MB / 1.081 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.9929, allocations: 0.9375 kB / 1.081 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.9931, allocations: 54.3 kB / 1.081 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.9932, allocations: 7.484 kB / 1.081 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.9932, allocations: 10.83 kB / 1.081 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.9932, allocations: 3.875 kB / 1.081 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9932, allocations: 1.375 kB / 1.081 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.9942, allocations: 0.6155 MB / 1.081 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.9943, allocations: 145.5 kB / 1.082 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.326e-05/0.9944, allocations: 8.594 kB / 1.082 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.9947, allocations: 29.88 kB / 1.082 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.9947, allocations: 23.33 kB / 1.082 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.9948, allocations: 13.66 kB / 1.082 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002158/0.995, allocations: 222.5 kB / 1.082 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.995, allocations: 0 / 1.082 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000589/0.9956, allocations: 128.7 kB / 1.082 GB, free: 13.81 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/0.9972, allocations: 1.28 MB / 1.083 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.9977, allocations: 276.3 kB / 1.084 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9977, allocations: 0 / 1.084 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.998, allocations: 148.7 kB / 1.084 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.9989, allocations: 162.2 kB / 1.084 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/1.003, allocations: 3.42 MB / 1.087 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/1.003, allocations: 0.7922 MB / 1.088 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000345/1.004, allocations: 85.25 kB / 1.088 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/1.004, allocations: 110.8 kB / 1.088 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of SimCode: time 1.453e-06/1.004, allocations: 0 / 1.088 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3471/1.351, allocations: 10.27 MB / 1.098 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.351, allocations: 247 kB / 1.098 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/3.556, allocations: 0 / 1.098 GB, free: 9.52 MB / 0.7136 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)