Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_latest_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.0009917/0.0009917, allocations: 87.11 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.001171/0.001171, 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.545/1.545, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.624/2.624, allocations: 409.4 MB / 0.684 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004839, allocations: 15.92 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8911/0.8916, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.207/1.099, allocations: 168.3 MB / 1.146 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01093/1.11, allocations: 6.525 MB / 1.152 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/1.111, allocations: 27.81 kB / 1.152 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/1.112, allocations: 266.2 kB / 1.152 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003576/1.116, allocations: 1.053 MB / 1.153 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/1.119, allocations: 0.8416 MB / 1.154 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003131/1.122, allocations: 2.288 MB / 1.156 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000799/1.123, allocations: 496.1 kB / 1.157 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/1.124, allocations: 0.6846 MB / 1.157 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008262/1.125, allocations: 0.572 MB / 1.158 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/1.125, allocations: 36 kB / 1.158 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/1.128, allocations: 1.134 MB / 1.159 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/1.128, allocations: 247.2 kB / 1.159 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/1.129, allocations: 177.3 kB / 1.159 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/1.13, allocations: 1.142 MB / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.13, allocations: 4 kB / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.823e-06/1.13, allocations: 0 / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.13, allocations: 0 / 1.161 GB, free: 13.99 MB / 0.92 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.001752/1.132, allocations: 1.021 MB / 1.162 GB, free: 12.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.132, allocations: 12.02 kB / 1.162 GB, free: 12.9 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/1.132, allocations: 98.52 kB / 1.162 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/1.134, allocations: 274.8 kB / 1.162 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/1.135, allocations: 0.56 MB / 1.163 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/1.135, allocations: 45.31 kB / 1.163 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.979e-05/1.135, allocations: 56 kB / 1.163 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/1.136, allocations: 0.6362 MB / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/1.137, allocations: 3.938 kB / 1.163 GB, free: 11.17 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/1.137, allocations: 20 kB / 1.163 GB, free: 11.15 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/1.137, allocations: 21.31 kB / 1.163 GB, free: 11.13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000942/1.138, allocations: 0.5282 MB / 1.164 GB, free: 10.6 MB / 0.92 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.003125/1.141, allocations: 2.457 MB / 1.166 GB, free: 7.934 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/1.141, allocations: 371.4 kB / 1.167 GB, free: 7.562 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/1.142, allocations: 238.8 kB / 1.167 GB, free: 7.328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/1.142, allocations: 319.6 kB / 1.167 GB, free: 6.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.142, allocations: 42.89 kB / 1.167 GB, free: 6.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 1.923e-06/1.142, allocations: 0 / 1.167 GB, free: 6.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.001374/1.144, allocations: 0.6232 MB / 1.168 GB, free: 6.281 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/1.144, allocations: 59.41 kB / 1.168 GB, free: 6.211 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/1.144, allocations: 0.4911 MB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/1.144, allocations: 33.7 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/1.145, allocations: 320.5 kB / 1.169 GB, free: 5.352 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/1.145, allocations: 137.9 kB / 1.169 GB, free: 5.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/1.145, allocations: 12 kB / 1.169 GB, free: 5.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.145, allocations: 370.8 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/1.145, allocations: 164.8 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/1.146, allocations: 287.4 kB / 1.17 GB, free: 4.348 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/1.146, allocations: 215.8 kB / 1.17 GB, free: 4.137 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.146, allocations: 11.88 kB / 1.17 GB, free: 4.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009333/1.147, allocations: 0.5356 MB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.147, allocations: 160.9 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.147, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.147, allocations: 4 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/1.148, allocations: 147.8 kB / 1.171 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004248/1.148, allocations: 0.5977 MB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/1.149, allocations: 91.56 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.149, allocations: 16 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/1.149, allocations: 4 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007864/1.15, allocations: 459.7 kB / 1.172 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.15, allocations: 4 kB / 1.172 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-06/1.15, allocations: 4 kB / 1.172 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/1.15, allocations: 127.9 kB / 1.172 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.15, allocations: 7.938 kB / 1.172 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/1.151, allocations: 75.64 kB / 1.172 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/1.151, allocations: 23.98 kB / 1.172 GB, free: 1.824 MB / 0.92 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.0004089/1.151, allocations: 302 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/1.152, allocations: 63.25 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008842/1.152, allocations: 498.7 kB / 1.173 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.152, allocations: 4 kB / 1.173 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.153, allocations: 64 / 1.173 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008048/1.153, allocations: 0.7222 MB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/1.155, allocations: 1.304 MB / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.155, allocations: 0 / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/1.156, allocations: 136.1 kB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/1.156, allocations: 7.984 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/1.156, allocations: 8 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003925/1.156, allocations: 0.5899 MB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.157, allocations: 12.03 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/1.158, allocations: 0.8142 MB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/1.158, allocations: 172.4 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/1.158, allocations: 23.94 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/1.158, allocations: 49.34 kB / 1.177 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/1.159, allocations: 39.83 kB / 1.177 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/1.159, allocations: 16 kB / 1.177 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004761/1.159, allocations: 350.8 kB / 1.177 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.159, allocations: 0 / 1.177 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00103/1.16, allocations: 359.2 kB / 1.177 GB, free: 12.14 MB / 0.9356 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.002068/1.162, allocations: 1.455 MB / 1.179 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001523/1.164, allocations: 0.6756 MB / 1.179 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/1.164, allocations: 0 / 1.179 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004125/1.164, allocations: 220.8 kB / 1.18 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.166, allocations: 356.5 kB / 1.18 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/1.172, allocations: 3.851 MB / 1.184 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/1.173, allocations: 0.9572 MB / 1.185 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008608/1.174, allocations: 209 kB / 1.185 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/1.174, allocations: 223.4 kB / 1.185 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of SimCode: time 1.052e-06/1.174, allocations: 4 kB / 1.185 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/1.213, allocations: 17.52 MB / 1.202 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/1.213, allocations: 250.1 kB / 1.202 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/3.45, allocations: 0 / 1.202 GB, free: 2.512 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat does not exist to compare? outputFormat=mat