Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 98.61 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009175/0.0009176, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003956, allocations: 8 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7558, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1886/0.9444, allocations: 141.8 MB / 1.092 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006829/0.9512, allocations: 5.268 MB / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000417/0.9517, allocations: 15.88 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.9524, allocations: 183.2 kB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.9545, allocations: 0.7088 MB / 1.098 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.9561, allocations: 0.5118 MB / 1.099 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006949/0.9568, allocations: 452 kB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004776/0.9573, allocations: 229.3 kB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.9586, allocations: 498.5 kB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007542/0.9594, allocations: 342.8 kB / 1.1 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.9595, allocations: 16 kB / 1.1 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.9609, allocations: 0.55 MB / 1.101 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.961, allocations: 107.7 kB / 1.101 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.9611, allocations: 85.52 kB / 1.101 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006237/0.9617, allocations: 458.9 kB / 1.101 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.9617, allocations: 0 / 1.101 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9617, allocations: 0 / 1.101 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.9617, allocations: 0 / 1.101 GB, free: 8.668 MB / 0.8575 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.0009624/0.9627, allocations: 0.6207 MB / 1.102 GB, free: 8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.9628, allocations: 12.03 kB / 1.102 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.073e-05/0.9629, allocations: 62.53 kB / 1.102 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.9639, allocations: 139.3 kB / 1.102 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.9643, allocations: 309.4 kB / 1.102 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.9644, allocations: 50.27 kB / 1.102 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.9645, allocations: 27.95 kB / 1.102 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/0.9652, allocations: 370.2 kB / 1.103 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.9652, allocations: 0 / 1.103 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.9652, allocations: 19.94 kB / 1.103 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.9653, allocations: 4 kB / 1.103 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.9658, allocations: 286 kB / 1.103 GB, free: 6.676 MB / 0.8575 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.001881/0.9677, allocations: 1.492 MB / 1.105 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.9682, allocations: 166.4 kB / 1.105 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/0.9687, allocations: 137 kB / 1.105 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.9687, allocations: 38.56 kB / 1.105 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.9687, allocations: 0 / 1.105 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0009557/0.9697, allocations: 383.6 kB / 1.105 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.9697, allocations: 55.34 kB / 1.105 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.9701, allocations: 312.5 kB / 1.106 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.9701, allocations: 29.7 kB / 1.106 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.9702, allocations: 188 kB / 1.106 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.9703, allocations: 51.3 kB / 1.106 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.9703, allocations: 0 / 1.106 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9705, allocations: 346.8 kB / 1.106 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.9707, allocations: 95.86 kB / 1.106 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.971, allocations: 163.7 kB / 1.106 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.9712, allocations: 103.9 kB / 1.106 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9712, allocations: 4 kB / 1.106 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006086/0.9718, allocations: 309 kB / 1.107 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.9718, allocations: 8 kB / 1.107 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.9718, allocations: 4.188 kB / 1.107 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9719, allocations: 4 kB / 1.107 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.9721, allocations: 55.8 kB / 1.107 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.9721, allocations: 0 / 1.107 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.9723, allocations: 39.73 kB / 1.107 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.9724, allocations: 8 kB / 1.107 GB, free: 2.492 MB / 0.8575 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.0001888/0.9726, allocations: 167.8 kB / 1.107 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.9727, allocations: 23.72 kB / 1.107 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007606/0.9734, allocations: 336 kB / 1.107 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9735, allocations: 4 kB / 1.107 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.9735, allocations: 7.891 kB / 1.107 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.9735, allocations: 0 / 1.107 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.9748, allocations: 0.8083 MB / 1.108 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.9748, allocations: 4 kB / 1.108 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.975, allocations: 40.19 kB / 1.108 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.9751, allocations: 4 kB / 1.108 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.9751, allocations: 8 kB / 1.108 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.9751, allocations: 4 kB / 1.108 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9751, allocations: 3.938 kB / 1.108 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.9758, allocations: 0.4911 MB / 1.109 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.976, allocations: 132.6 kB / 1.109 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.976, allocations: 8.078 kB / 1.109 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.9763, allocations: 31.98 kB / 1.109 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.9763, allocations: 15.97 kB / 1.109 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.9764, allocations: 15.98 kB / 1.109 GB, free: 216 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002667/0.9766, allocations: 227 kB / 1.109 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9767, allocations: 4 kB / 1.109 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005401/0.9772, allocations: 119.8 kB / 1.109 GB, free: 15.87 MB / 0.8731 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.001639/0.9788, allocations: 1.624 MB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.9794, allocations: 231.8 kB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9794, allocations: 0 / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.9796, allocations: 124.5 kB / 1.111 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.9804, allocations: 156.3 kB / 1.111 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.9825, allocations: 2.231 MB / 1.114 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.9829, allocations: 0.7952 MB / 1.114 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003036/0.9832, allocations: 79 kB / 1.114 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.9834, allocations: 107.4 kB / 1.114 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.9834, allocations: 0 / 1.114 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/1.008, allocations: 9.762 MB / 1.124 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/1.008, allocations: 214.7 kB / 1.124 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.917, allocations: 0 / 1.124 GB, free: 0.543 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat does not exist to compare? outputFormat=mat