Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 188.2 kB / 361.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009122/0.000912, allocations: 97.52 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.133e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8102, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.411/6.221, allocations: 2.079 GB / 3.044 GB, free: 81.01 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/6.221, allocations: 87.95 kB / 3.044 GB, free: 80.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.262/8.483, allocations: 477.7 MB / 3.51 GB, free: 230.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/8.484, allocations: 3.391 kB / 3.51 GB, free: 230.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.679e-05/8.484, allocations: 25.31 kB / 3.51 GB, free: 230.5 MB / 0.948 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.002341/8.486, allocations: 1.025 MB / 3.511 GB, free: 230.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/8.486, allocations: 9.156 kB / 3.511 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/8.488, allocations: 266.2 kB / 3.512 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/8.489, allocations: 0.6064 MB / 3.512 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/8.489, allocations: 18.5 kB / 3.512 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/8.489, allocations: 40.11 kB / 3.512 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008734/8.49, allocations: 439.1 kB / 3.513 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/8.491, allocations: 0.5174 MB / 3.513 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/8.491, allocations: 0 / 3.513 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/8.491, allocations: 3.844 kB / 3.513 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/8.491, allocations: 22.52 kB / 3.513 GB, free: 229.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002575/8.494, allocations: 2.304 MB / 3.515 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/8.494, allocations: 336 kB / 3.516 GB, free: 228.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/8.495, allocations: 199.6 kB / 3.516 GB, free: 228.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/8.495, allocations: 301.6 kB / 3.516 GB, free: 228.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/8.495, allocations: 36.73 kB / 3.516 GB, free: 228.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/8.495, allocations: 0 / 3.516 GB, free: 228.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.0009842/8.496, allocations: 424.5 kB / 3.517 GB, free: 228.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/8.496, allocations: 54.75 kB / 3.517 GB, free: 228.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/8.497, allocations: 366.8 kB / 3.517 GB, free: 228 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/8.497, allocations: 25.7 kB / 3.517 GB, free: 227.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/8.497, allocations: 333.6 kB / 3.517 GB, free: 227.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/8.497, allocations: 138.2 kB / 3.518 GB, free: 227.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/8.497, allocations: 0 / 3.518 GB, free: 227.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001103/8.497, allocations: 362.4 kB / 3.518 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/8.497, allocations: 136 kB / 3.518 GB, free: 227.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/8.497, allocations: 262.7 kB / 3.518 GB, free: 227.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/8.498, allocations: 207.2 kB / 3.518 GB, free: 227.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/8.498, allocations: 0 / 3.518 GB, free: 227.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007946/8.499, allocations: 475.6 kB / 3.519 GB, free: 227.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/8.499, allocations: 0.8705 MB / 3.52 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/8.499, allocations: 3.391 kB / 3.52 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/8.499, allocations: 10.56 kB / 3.52 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/8.5, allocations: 112.5 kB / 3.52 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003164/8.5, allocations: 0.5974 MB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/8.5, allocations: 67.88 kB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/8.501, allocations: 22.56 kB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/8.501, allocations: 6.75 kB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006077/8.501, allocations: 391.7 kB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/8.501, allocations: 1.406 kB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-06/8.501, allocations: 11.25 kB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/8.502, allocations: 101.4 kB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/8.502, allocations: 3.906 kB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/8.502, allocations: 58.44 kB / 3.521 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/8.502, allocations: 22.06 kB / 3.521 GB, free: 225.7 MB / 0.948 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 () * 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.0001256/8.502, allocations: 115.7 kB / 3.521 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005683/8.503, allocations: 399.6 kB / 3.522 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/8.503, allocations: 57.98 kB / 3.522 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/8.504, allocations: 421 kB / 3.522 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/8.504, allocations: 8.156 kB / 3.522 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/8.504, allocations: 0 / 3.522 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006055/8.504, allocations: 0.6604 MB / 3.523 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/8.506, allocations: 1.161 MB / 3.524 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/8.506, allocations: 0 / 3.524 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/8.507, allocations: 108.6 kB / 3.524 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/8.507, allocations: 3.781 kB / 3.524 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/8.507, allocations: 6.125 kB / 3.524 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002267/8.507, allocations: 0.5984 MB / 3.525 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/8.507, allocations: 1.969 kB / 3.525 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009262/8.508, allocations: 0.8313 MB / 3.525 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/8.508, allocations: 181.2 kB / 3.526 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/8.508, allocations: 5.281 kB / 3.526 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/8.509, allocations: 47.92 kB / 3.526 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/8.509, allocations: 24.41 kB / 3.526 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/8.509, allocations: 17.66 kB / 3.526 GB, free: 223.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002774/8.509, allocations: 283.8 kB / 3.526 GB, free: 223.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.509, allocations: 0 / 3.526 GB, free: 223.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001304/8.51, allocations: 445.2 kB / 3.526 GB, free: 223.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete 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.003223/8.513, allocations: 3.309 MB / 3.53 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001102/8.515, allocations: 0.5772 MB / 3.53 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/8.515, allocations: 0 / 3.53 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/8.515, allocations: 190.2 kB / 3.53 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/8.516, allocations: 326.7 kB / 3.531 GB, free: 221.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/8.519, allocations: 1.24 MB / 3.532 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/8.519, allocations: 0.966 MB / 3.533 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009483/8.52, allocations: 232.1 kB / 3.533 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/8.521, allocations: 221.6 kB / 3.533 GB, free: 220.8 MB / 0.948 GB Notification: Performance of SimCode: time 5e-07/8.521, allocations: 0 / 3.533 GB, free: 220.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07647/8.597, allocations: 26.53 MB / 3.559 GB, free: 220.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/8.597, allocations: 164.1 kB / 3.559 GB, free: 220.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.122/11.72, allocations: 2.094 kB / 3.559 GB, free: 220.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)