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.0009445/0.0009441, allocations: 99.23 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.0009516/0.0009516, 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.386/1.386, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.463/2.463, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7354, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1985/0.9339, allocations: 154 MB / 1.104 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00873/0.9427, allocations: 6.496 MB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.9439, allocations: 23.81 kB / 1.11 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.9456, allocations: 430 kB / 1.111 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.9496, allocations: 1.315 MB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.953, allocations: 1.044 MB / 1.113 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002483/0.9554, allocations: 1.132 MB / 1.114 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007984/0.9563, allocations: 0.4924 MB / 1.115 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.9577, allocations: 0.6113 MB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.9583, allocations: 382.5 kB / 1.116 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.794e-05/0.9583, allocations: 32 kB / 1.116 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.9607, allocations: 0.8775 MB / 1.116 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.961, allocations: 227.4 kB / 1.117 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.9613, allocations: 181.3 kB / 1.117 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.9629, allocations: 1.013 MB / 1.118 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9629, allocations: 0 / 1.118 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.304e-06/0.963, allocations: 0 / 1.118 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.963, allocations: 4 kB / 1.118 GB, free: 7.535 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001746/0.9647, allocations: 0.9738 MB / 1.119 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9648, allocations: 16.03 kB / 1.119 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.9649, allocations: 90.52 kB / 1.119 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.9668, allocations: 278.8 kB / 1.119 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.9678, allocations: 0.5679 MB / 1.12 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.9679, allocations: 37.31 kB / 1.12 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/0.968, allocations: 63.91 kB / 1.12 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.969, allocations: 0.6323 MB / 1.12 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.969, allocations: 0 / 1.12 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/0.9691, allocations: 24 kB / 1.12 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.9691, allocations: 21.31 kB / 1.12 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009259/0.9701, allocations: 0.5281 MB / 1.121 GB, free: 4.199 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.003121/0.9732, allocations: 2.45 MB / 1.123 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.9739, allocations: 383.4 kB / 1.124 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/0.9743, allocations: 145.4 kB / 1.124 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.9743, allocations: 34.89 kB / 1.124 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=39): time 1.864e-06/0.9743, allocations: 3.938 kB / 1.124 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39): time 0.00138/0.9757, allocations: 0.6307 MB / 1.125 GB, free: 312 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.9758, allocations: 59.34 kB / 1.125 GB, free: 240 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.9763, allocations: 0.4949 MB / 1.125 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.9764, allocations: 37.7 kB / 1.125 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.9766, allocations: 324.5 kB / 1.125 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.9768, allocations: 141.9 kB / 1.126 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.9768, allocations: 8 kB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.9769, allocations: 362.8 kB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.9773, allocations: 172.8 kB / 1.126 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.9777, allocations: 279.4 kB / 1.126 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.978, allocations: 215.8 kB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9781, allocations: 0 / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008775/0.9789, allocations: 0.5279 MB / 1.127 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003243/0.9793, allocations: 0.8785 MB / 1.128 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9793, allocations: 8 kB / 1.128 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.9793, allocations: 7.984 kB / 1.128 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.98, allocations: 139.8 kB / 1.128 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003622/0.9804, allocations: 0.6015 MB / 1.129 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.981, allocations: 79.64 kB / 1.129 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.9811, allocations: 23.98 kB / 1.129 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.9811, allocations: 4 kB / 1.129 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007844/0.9819, allocations: 463.8 kB / 1.129 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.9819, allocations: 4.062 kB / 1.129 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.9819, allocations: 8 kB / 1.129 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.9824, allocations: 132.1 kB / 1.129 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.9824, allocations: 4 kB / 1.129 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.983, allocations: 75.64 kB / 1.129 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.983, allocations: 20 kB / 1.129 GB, free: 11.11 MB / 0.8887 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.0003675/0.9834, allocations: 312.8 kB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.9835, allocations: 63.25 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008672/0.9844, allocations: 486.7 kB / 1.13 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.9844, allocations: 4 kB / 1.13 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.9844, allocations: 0 / 1.13 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007977/0.9852, allocations: 0.7199 MB / 1.131 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.9872, allocations: 1.288 MB / 1.132 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.9872, allocations: 224 / 1.132 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/0.9879, allocations: 139.8 kB / 1.132 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.9879, allocations: 4 kB / 1.132 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.9879, allocations: 23.88 kB / 1.132 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003083/0.9883, allocations: 0.5898 MB / 1.133 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.9883, allocations: 4.031 kB / 1.133 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.9895, allocations: 0.8996 MB / 1.134 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.9898, allocations: 176.3 kB / 1.134 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.047e-05/0.9898, allocations: 15.98 kB / 1.134 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.9903, allocations: 47.88 kB / 1.134 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.9904, allocations: 39.84 kB / 1.134 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.9904, allocations: 16 kB / 1.134 GB, free: 6 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003937/0.9908, allocations: 350.8 kB / 1.134 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9909, allocations: 0 / 1.134 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009634/0.9918, allocations: 359.2 kB / 1.135 GB, free: 5.309 MB / 0.8887 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.002043/0.9939, allocations: 2.023 MB / 1.137 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.9954, allocations: 0.6778 MB / 1.137 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9954, allocations: 0 / 1.137 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.9959, allocations: 227.7 kB / 1.138 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.9976, allocations: 356.6 kB / 1.138 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/1.004, allocations: 5.174 MB / 1.143 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/1.005, allocations: 0.961 MB / 1.144 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007572/1.005, allocations: 216.9 kB / 1.144 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/1.006, allocations: 227.4 kB / 1.144 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of SimCode: time 6.52e-07/1.006, allocations: 0 / 1.144 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/1.04, allocations: 17.49 MB / 1.162 GB, free: 10.1 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/1.04, allocations: 230.1 kB / 1.162 GB, free: 9.867 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/3.173, allocations: 0 / 1.162 GB, free: 9.867 MB / 0.92 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