Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.844/2.844, allocations: 287.5 MB / 302.4 MB, free: 8.199 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.001357/0.001357, allocations: 178.3 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009628/0.0009626, allocations: 93.98 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006622/0.0006626, allocations: 12.75 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2407, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9396/1.18, allocations: 153.9 MB / 1.129 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01139/1.192, allocations: 6.644 MB / 1.135 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007324/1.193, allocations: 18.34 kB / 1.135 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006632/1.193, allocations: 117.7 kB / 1.135 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/1.197, allocations: 0.8336 MB / 1.136 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/1.2, allocations: 482.8 kB / 1.137 GB, free: 14.87 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001536/1.201, allocations: 0.8925 MB / 1.138 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005482/1.202, allocations: 222.1 kB / 1.138 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/1.203, allocations: 476.8 kB / 1.138 GB, free: 14.56 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/1.205, allocations: 394.2 kB / 1.139 GB, free: 14.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/1.205, allocations: 19.25 kB / 1.139 GB, free: 14.47 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/1.207, allocations: 0.6324 MB / 1.139 GB, free: 14.38 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/1.207, allocations: 104.5 kB / 1.139 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/1.208, allocations: 90.05 kB / 1.139 GB, free: 14.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/1.209, allocations: 0.52 MB / 1.14 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.209, allocations: 0 / 1.14 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/1.209, allocations: 0 / 1.14 GB, free: 14.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.014e-06/1.209, allocations: 0 / 1.14 GB, free: 14.24 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.001304/1.21, allocations: 0.6372 MB / 1.141 GB, free: 13.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.21, allocations: 8.031 kB / 1.141 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/1.21, allocations: 66.62 kB / 1.141 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/1.212, allocations: 127.8 kB / 1.141 GB, free: 13.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/1.212, allocations: 313.9 kB / 1.141 GB, free: 13.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/1.212, allocations: 48.2 kB / 1.141 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/1.213, allocations: 28.44 kB / 1.141 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/1.214, allocations: 373.6 kB / 1.141 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/1.214, allocations: 0 / 1.141 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/1.214, allocations: 18.97 kB / 1.141 GB, free: 13.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/1.214, allocations: 7.031 kB / 1.141 GB, free: 13.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/1.215, allocations: 284.4 kB / 1.142 GB, free: 13.3 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.002832/1.217, allocations: 1.495 MB / 1.143 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/1.218, allocations: 197.2 kB / 1.143 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/1.218, allocations: 118.8 kB / 1.144 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/1.22, allocations: 0.5263 MB / 1.144 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/1.22, allocations: 35.28 kB / 1.144 GB, free: 11.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/1.22, allocations: 4.938 kB / 1.144 GB, free: 11.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001547/1.222, allocations: 374.7 kB / 1.144 GB, free: 11.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/1.222, allocations: 53.94 kB / 1.144 GB, free: 11.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/1.222, allocations: 315.4 kB / 1.145 GB, free: 11.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/1.222, allocations: 34.2 kB / 1.145 GB, free: 11.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/1.223, allocations: 181.5 kB / 1.145 GB, free: 11.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/1.223, allocations: 53.45 kB / 1.145 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/1.223, allocations: 3.156 kB / 1.145 GB, free: 11.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.223, allocations: 348.5 kB / 1.145 GB, free: 11.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/1.223, allocations: 88.72 kB / 1.145 GB, free: 11.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/1.224, allocations: 154.5 kB / 1.146 GB, free: 10.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/1.224, allocations: 110.4 kB / 1.146 GB, free: 10.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.224, allocations: 1.375 kB / 1.146 GB, free: 10.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009958/1.225, allocations: 291.1 kB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.225, allocations: 5.688 kB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.225, allocations: 1 kB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.225, allocations: 3.906 kB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/1.226, allocations: 40.97 kB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/1.226, allocations: 10.92 kB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/1.226, allocations: 46.33 kB / 1.146 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/1.226, allocations: 14.56 kB / 1.146 GB, free: 10.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0002413/1.226, allocations: 146.3 kB / 1.146 GB, free: 10.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/1.226, allocations: 31.33 kB / 1.146 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/1.228, allocations: 329.3 kB / 1.147 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.228, allocations: 2.406 kB / 1.147 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.228, allocations: 0 / 1.147 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.228, allocations: 5.109 kB / 1.147 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/1.23, allocations: 0.8183 MB / 1.147 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.23, allocations: 2.094 kB / 1.147 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/1.23, allocations: 44.73 kB / 1.147 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/1.23, allocations: 3.125 kB / 1.147 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/1.23, allocations: 3.844 kB / 1.147 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.579e-06/1.23, allocations: 6.219 kB / 1.147 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.23, allocations: 2.281 kB / 1.147 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.231, allocations: 415.6 kB / 1.148 GB, free: 9.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/1.232, allocations: 138.8 kB / 1.148 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/1.232, allocations: 11.61 kB / 1.148 GB, free: 9.781 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/1.232, allocations: 24.64 kB / 1.148 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/1.232, allocations: 14.8 kB / 1.148 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/1.232, allocations: 19.11 kB / 1.148 GB, free: 9.762 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003435/1.233, allocations: 223.5 kB / 1.148 GB, free: 9.656 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.313e-06/1.233, allocations: 0 / 1.148 GB, free: 9.656 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007567/1.233, allocations: 118.2 kB / 1.148 GB, free: 9.641 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.002057/1.236, allocations: 1.058 MB / 1.149 GB, free: 8.801 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008577/1.236, allocations: 224.2 kB / 1.15 GB, free: 8.754 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.236, allocations: 0.8125 kB / 1.15 GB, free: 8.754 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/1.237, allocations: 124.7 kB / 1.15 GB, free: 8.723 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/1.238, allocations: 152 kB / 1.15 GB, free: 8.676 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/1.243, allocations: 1.854 MB / 1.152 GB, free: 7.699 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/1.244, allocations: 0.7862 MB / 1.152 GB, free: 6.961 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006646/1.244, allocations: 82.33 kB / 1.153 GB, free: 6.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/1.245, allocations: 99.05 kB / 1.153 GB, free: 6.91 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.245, allocations: 4 kB / 1.153 GB, free: 6.906 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04926/1.294, allocations: 9.839 MB / 1.162 GB, free: 2.109 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004218/1.295, allocations: 228.4 kB / 1.162 GB, free: 1.867 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/4.463, allocations: 6.328 kB / 1.162 GB, free: 1.867 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)