Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Density.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.Density,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Density",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.001082/0.001081, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 208 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.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.398 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.47/2.47, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003866, allocations: 20 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7511, allocations: 142.3 MB / 0.9538 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1943/0.9455, allocations: 168.3 MB / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.9589, allocations: 6.524 MB / 1.125 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.9601, allocations: 23.88 kB / 1.125 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.9614, allocations: 274.2 kB / 1.125 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004016/0.9654, allocations: 1.054 MB / 1.126 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.9687, allocations: 0.835 MB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003643/0.9724, allocations: 2.295 MB / 1.129 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.9735, allocations: 496 kB / 1.129 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.9757, allocations: 0.6924 MB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.9771, allocations: 0.572 MB / 1.131 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.9773, allocations: 32 kB / 1.131 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.9809, allocations: 1.126 MB / 1.132 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005378/0.9814, allocations: 251.2 kB / 1.132 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.9819, allocations: 181.3 kB / 1.132 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.9843, allocations: 1.138 MB / 1.133 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.9843, allocations: 0 / 1.133 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.572e-06/0.9843, allocations: 4 kB / 1.133 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.079e-05/0.9844, allocations: 0 / 1.133 GB, free: 7.836 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002492/0.9869, allocations: 1.024 MB / 1.134 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.9869, allocations: 12.03 kB / 1.134 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.9872, allocations: 94.52 kB / 1.134 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.99, allocations: 270.8 kB / 1.135 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.9914, allocations: 0.5563 MB / 1.135 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.9915, allocations: 49.3 kB / 1.135 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.9917, allocations: 59.89 kB / 1.135 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.9933, allocations: 0.6362 MB / 1.136 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.9934, allocations: 0 / 1.136 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.33e-05/0.9935, allocations: 20 kB / 1.136 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.9935, allocations: 25.3 kB / 1.136 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.9949, allocations: 0.5321 MB / 1.137 GB, free: 4.453 MB / 0.8887 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.004511/0.9994, allocations: 2.454 MB / 1.139 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009631/1, allocations: 355.5 kB / 1.139 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/1.001, allocations: 250.8 kB / 1.139 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00072/1.002, allocations: 323.5 kB / 1.14 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/1.002, allocations: 42.84 kB / 1.14 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=39): time 3.166e-06/1.002, allocations: 0 / 1.14 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=39): time 0.002001/1.004, allocations: 0.63 MB / 1.14 GB, free: 124 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.004, allocations: 55.41 kB / 1.141 GB, free: 56 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.005, allocations: 0.4912 MB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/1.005, allocations: 33.7 kB / 1.141 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/1.005, allocations: 324.5 kB / 1.141 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/1.006, allocations: 141.9 kB / 1.141 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/1.006, allocations: 11.94 kB / 1.141 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.006, allocations: 370.8 kB / 1.142 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/1.006, allocations: 172.8 kB / 1.142 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/1.007, allocations: 283.4 kB / 1.142 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/1.008, allocations: 207.9 kB / 1.142 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.008, allocations: 4 kB / 1.142 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001441/1.009, allocations: 0.5278 MB / 1.143 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002171/1.009, allocations: 161 kB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.009, allocations: 4 kB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/1.009, allocations: 4 kB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/1.01, allocations: 143.8 kB / 1.143 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004558/1.011, allocations: 0.5937 MB / 1.144 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/1.012, allocations: 87.62 kB / 1.144 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.012, allocations: 20 kB / 1.144 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/1.012, allocations: 4 kB / 1.144 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/1.013, allocations: 471.7 kB / 1.144 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.013, allocations: 7.984 kB / 1.144 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/1.013, allocations: 4.281 kB / 1.144 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/1.014, allocations: 127.9 kB / 1.145 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.014, allocations: 7.938 kB / 1.145 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009165/1.015, allocations: 79.62 kB / 1.145 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/1.015, allocations: 20 kB / 1.145 GB, free: 11.68 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005077/1.015, allocations: 306.7 kB / 1.145 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/1.016, allocations: 67.2 kB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/1.017, allocations: 490.6 kB / 1.145 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/1.017, allocations: 8 kB / 1.145 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.017, allocations: 3.938 kB / 1.145 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001364/1.018, allocations: 0.7121 MB / 1.146 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/1.021, allocations: 1.3 MB / 1.147 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.021, allocations: 0 / 1.147 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/1.022, allocations: 135.8 kB / 1.148 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/1.022, allocations: 4 kB / 1.148 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/1.022, allocations: 12.12 kB / 1.148 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004481/1.022, allocations: 0.5898 MB / 1.148 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.022, allocations: 11.92 kB / 1.148 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/1.024, allocations: 0.8134 MB / 1.149 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/1.024, allocations: 180.3 kB / 1.149 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/1.024, allocations: 12 kB / 1.149 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/1.025, allocations: 55.8 kB / 1.149 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.025, allocations: 27.92 kB / 1.149 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/1.025, allocations: 16 kB / 1.149 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006235/1.025, allocations: 350.8 kB / 1.15 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/1.025, allocations: 0 / 1.15 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00173/1.027, allocations: 359.2 kB / 1.15 GB, free: 6.004 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002461/1.03, allocations: 1.452 MB / 1.151 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00162/1.031, allocations: 0.6733 MB / 1.152 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.031, allocations: 320 / 1.152 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004483/1.032, allocations: 235.7 kB / 1.152 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.034, allocations: 364.2 kB / 1.153 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006977/1.041, allocations: 3.85 MB / 1.156 GB, free: 15.31 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/1.042, allocations: 0.9494 MB / 1.157 GB, free: 14.33 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008885/1.042, allocations: 212.9 kB / 1.157 GB, free: 14.12 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/1.043, allocations: 223.4 kB / 1.158 GB, free: 13.9 MB / 0.92 GB Notification: Performance of SimCode: time 9.32e-07/1.043, allocations: 0 / 1.158 GB, free: 13.9 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/1.082, allocations: 17.52 MB / 1.175 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/1.083, allocations: 243 kB / 1.175 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/3.309, allocations: 0 / 1.175 GB, free: 12.46 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat does not exist to compare? outputFormat=mat