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.0007682/0.0007681, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008636/0.0008635, allocations: 168.7 kB / 15.95 MB, free: 204 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.329/1.329, allocations: 223.2 MB / 240 MB, free: 5.426 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.416/2.416, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004318, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8181, allocations: 142.3 MB / 0.9539 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1969/1.015, allocations: 153.9 MB / 1.104 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00903/1.024, allocations: 6.641 MB / 1.111 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000534/1.025, allocations: 7.938 kB / 1.111 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005468/1.025, allocations: 123.1 kB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002681/1.028, allocations: 0.8319 MB / 1.112 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/1.029, allocations: 485.3 kB / 1.112 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001151/1.031, allocations: 0.8927 MB / 1.113 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/1.031, allocations: 225.2 kB / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/1.032, allocations: 474 kB / 1.114 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007686/1.033, allocations: 406.6 kB / 1.114 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/1.033, allocations: 16 kB / 1.114 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/1.035, allocations: 0.6392 MB / 1.115 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/1.035, allocations: 99.69 kB / 1.115 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/1.035, allocations: 89.52 kB / 1.115 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008378/1.036, allocations: 0.5145 MB / 1.115 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.036, allocations: 0 / 1.115 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.074e-06/1.036, allocations: 0 / 1.115 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.036, allocations: 0 / 1.115 GB, free: 10.33 MB / 0.8731 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.0009964/1.037, allocations: 0.639 MB / 1.116 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.037, allocations: 8.031 kB / 1.116 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.51e-05/1.037, allocations: 66.53 kB / 1.116 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009363/1.038, allocations: 123.4 kB / 1.116 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/1.038, allocations: 321.3 kB / 1.116 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/1.038, allocations: 50.27 kB / 1.116 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/1.038, allocations: 27.95 kB / 1.117 GB, free: 9 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/1.039, allocations: 374.2 kB / 1.117 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.039, allocations: 4 kB / 1.117 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/1.039, allocations: 8 kB / 1.117 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/1.039, allocations: 8 kB / 1.117 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/1.04, allocations: 286 kB / 1.117 GB, free: 8.32 MB / 0.8731 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.002009/1.042, allocations: 1.496 MB / 1.119 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/1.042, allocations: 206.5 kB / 1.119 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/1.043, allocations: 116.8 kB / 1.119 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009692/1.043, allocations: 0.5209 MB / 1.119 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/1.044, allocations: 34.56 kB / 1.119 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/1.044, allocations: 0 / 1.119 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0009312/1.044, allocations: 373 kB / 1.12 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.045, allocations: 51.41 kB / 1.12 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/1.045, allocations: 316.5 kB / 1.12 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/1.045, allocations: 29.7 kB / 1.12 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/1.045, allocations: 192 kB / 1.12 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/1.045, allocations: 51.3 kB / 1.12 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/1.045, allocations: 4 kB / 1.12 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002549/1.045, allocations: 342.8 kB / 1.121 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/1.046, allocations: 87.92 kB / 1.121 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/1.046, allocations: 155.8 kB / 1.121 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/1.046, allocations: 103.9 kB / 1.121 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.046, allocations: 0 / 1.121 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005777/1.047, allocations: 301.1 kB / 1.121 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.047, allocations: 4 kB / 1.121 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/1.047, allocations: 4 kB / 1.121 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.047, allocations: 7.953 kB / 1.121 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/1.047, allocations: 39.97 kB / 1.121 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.047, allocations: 11.88 kB / 1.121 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/1.047, allocations: 43.77 kB / 1.122 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/1.047, allocations: 8 kB / 1.122 GB, free: 3.559 MB / 0.8731 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.0001597/1.048, allocations: 149.8 kB / 1.122 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/1.048, allocations: 27.7 kB / 1.122 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000816/1.048, allocations: 334 kB / 1.122 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.049, allocations: 0 / 1.122 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.049, allocations: 7.953 kB / 1.122 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/1.049, allocations: 0 / 1.122 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/1.05, allocations: 0.824 MB / 1.123 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.05, allocations: 4 kB / 1.123 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/1.05, allocations: 31.98 kB / 1.123 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/1.05, allocations: 4 kB / 1.123 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/1.05, allocations: 11.98 kB / 1.123 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/1.05, allocations: 7.938 kB / 1.123 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.05, allocations: 0 / 1.123 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/1.051, allocations: 405.1 kB / 1.123 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.051, allocations: 136.6 kB / 1.123 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/1.051, allocations: 7.984 kB / 1.123 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/1.051, allocations: 23.98 kB / 1.123 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/1.051, allocations: 15.98 kB / 1.123 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/1.051, allocations: 15.98 kB / 1.123 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002266/1.052, allocations: 223.1 kB / 1.124 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.052, allocations: 0 / 1.124 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005238/1.052, allocations: 111.8 kB / 1.124 GB, free: 1.098 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.001381/1.053, allocations: 1.07 MB / 1.125 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005079/1.054, allocations: 225.6 kB / 1.125 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.054, allocations: 4 kB / 1.125 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/1.054, allocations: 115.8 kB / 1.125 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009415/1.055, allocations: 154.9 kB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/1.058, allocations: 1.856 MB / 1.127 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/1.059, allocations: 0.7836 MB / 1.128 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003198/1.059, allocations: 94.92 kB / 1.128 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/1.059, allocations: 99.39 kB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of SimCode: time 6.51e-07/1.059, allocations: 4 kB / 1.128 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/1.083, allocations: 9.834 MB / 1.138 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/1.084, allocations: 222.4 kB / 1.138 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/3.076, allocations: 0 / 1.138 GB, free: 2.691 MB / 0.8887 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