Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 288.2 MB / 303.2 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 173.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009506/0.0009506, allocations: 101.5 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004047, allocations: 16.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7082/0.9479, allocations: 141.8 MB / 1.118 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006962/0.955, allocations: 5.266 MB / 1.123 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006362/0.9556, allocations: 14.5 kB / 1.123 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007484/0.9564, allocations: 193.4 kB / 1.123 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.959, allocations: 0.7064 MB / 1.124 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.9607, allocations: 0.5136 MB / 1.124 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007871/0.9615, allocations: 458 kB / 1.125 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.9619, allocations: 238.6 kB / 1.125 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.9632, allocations: 0.4966 MB / 1.126 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006971/0.9639, allocations: 327 kB / 1.126 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.9639, allocations: 19.25 kB / 1.126 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.9654, allocations: 0.5528 MB / 1.127 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.9656, allocations: 92.7 kB / 1.127 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.9657, allocations: 88.11 kB / 1.127 GB, free: 16.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006844/0.9664, allocations: 468.6 kB / 1.127 GB, free: 16.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.9664, allocations: 0 / 1.127 GB, free: 16.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9665, allocations: 0 / 1.127 GB, free: 16.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.9665, allocations: 0 / 1.127 GB, free: 16.77 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.001002/0.9675, allocations: 0.622 MB / 1.128 GB, free: 16.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.9675, allocations: 12.52 kB / 1.128 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.504e-05/0.9676, allocations: 62.34 kB / 1.128 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009981/0.9686, allocations: 133 kB / 1.128 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.9691, allocations: 309.7 kB / 1.128 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.9691, allocations: 46.48 kB / 1.128 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.9692, allocations: 27.59 kB / 1.128 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.9698, allocations: 374.8 kB / 1.129 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.9698, allocations: 7.891 kB / 1.129 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.9699, allocations: 12.06 kB / 1.129 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.9699, allocations: 11.69 kB / 1.129 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.9703, allocations: 274.6 kB / 1.129 GB, free: 15.85 MB / 0.698 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.001767/0.9721, allocations: 1.486 MB / 1.13 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.9726, allocations: 169 kB / 1.131 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003927/0.973, allocations: 143.1 kB / 1.131 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.9731, allocations: 33.38 kB / 1.131 GB, free: 14.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.9731, allocations: 0 / 1.131 GB, free: 14.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0008754/0.9739, allocations: 379.2 kB / 1.131 GB, free: 14.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.974, allocations: 53.34 kB / 1.131 GB, free: 14.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.9743, allocations: 317.4 kB / 1.131 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.9743, allocations: 31.61 kB / 1.131 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.9745, allocations: 185.5 kB / 1.132 GB, free: 14.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.9745, allocations: 54.81 kB / 1.132 GB, free: 14.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.9745, allocations: 9.594 kB / 1.132 GB, free: 14.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.9747, allocations: 342.9 kB / 1.132 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.9749, allocations: 90 kB / 1.132 GB, free: 13.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.9751, allocations: 171 kB / 1.132 GB, free: 13.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.9753, allocations: 105.9 kB / 1.132 GB, free: 13.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9753, allocations: 2.656 kB / 1.132 GB, free: 13.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005625/0.9759, allocations: 304.1 kB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.9759, allocations: 13.27 kB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9759, allocations: 0 / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.976, allocations: 4.906 kB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.9762, allocations: 44.8 kB / 1.133 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.9762, allocations: 8.156 kB / 1.133 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.9765, allocations: 42.28 kB / 1.133 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.9765, allocations: 16.53 kB / 1.133 GB, free: 13.79 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * 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.0001587/0.9767, allocations: 149 kB / 1.133 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.771e-05/0.9768, allocations: 28.75 kB / 1.133 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.9775, allocations: 329.5 kB / 1.133 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9775, allocations: 3.047 kB / 1.133 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9775, allocations: 3.984 kB / 1.133 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9775, allocations: 0 / 1.133 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.979, allocations: 0.8184 MB / 1.134 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.979, allocations: 2.719 kB / 1.134 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.9792, allocations: 40.09 kB / 1.134 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.9792, allocations: 2.688 kB / 1.134 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.9792, allocations: 10.12 kB / 1.134 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.9793, allocations: 3.344 kB / 1.134 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.9793, allocations: 11.19 kB / 1.134 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.9799, allocations: 0.4892 MB / 1.135 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.9801, allocations: 140.1 kB / 1.135 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.9801, allocations: 3.281 kB / 1.135 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.9804, allocations: 24.27 kB / 1.135 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.9805, allocations: 20.22 kB / 1.135 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.9805, allocations: 12.62 kB / 1.135 GB, free: 12.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001916/0.9807, allocations: 224.5 kB / 1.135 GB, free: 12.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9807, allocations: 0 / 1.135 GB, free: 12.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005185/0.9813, allocations: 119.4 kB / 1.135 GB, free: 12.53 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.001615/0.9829, allocations: 1.625 MB / 1.137 GB, free: 11.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.9834, allocations: 233.2 kB / 1.137 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9834, allocations: 0 / 1.137 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.9836, allocations: 127.4 kB / 1.137 GB, free: 11.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.9844, allocations: 148.5 kB / 1.137 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.9864, allocations: 2.236 MB / 1.139 GB, free: 9.008 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.9868, allocations: 0.7888 MB / 1.14 GB, free: 8.266 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000352/0.9871, allocations: 88.28 kB / 1.14 GB, free: 8.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.9873, allocations: 102.8 kB / 1.14 GB, free: 8.211 MB / 0.698 GB Notification: Performance of SimCode: time 6.92e-07/0.9873, allocations: 0 / 1.14 GB, free: 8.211 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/1.014, allocations: 9.764 MB / 1.15 GB, free: 3.449 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/1.014, allocations: 232.5 kB / 1.15 GB, free: 3.203 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/3.171, allocations: 0 / 1.15 GB, free: 3.203 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)