Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 176.8 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008985/0.0008984, allocations: 88.47 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.32e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2291, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.994/6.223, allocations: 2.198 GB / 3.084 GB, free: 166 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/6.224, allocations: 87.33 kB / 3.084 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.33/7.554, allocations: 464.8 MB / 3.538 GB, free: 47.72 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/7.554, allocations: 0 / 3.538 GB, free: 47.72 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.565e-05/7.554, allocations: 27.92 kB / 3.538 GB, free: 47.69 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001989/7.556, allocations: 1.036 MB / 3.539 GB, free: 46.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/7.556, allocations: 8.031 kB / 3.539 GB, free: 46.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/7.558, allocations: 262.8 kB / 3.539 GB, free: 46.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/7.559, allocations: 0.6051 MB / 3.54 GB, free: 45.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/7.559, allocations: 20 kB / 3.54 GB, free: 45.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/7.559, allocations: 32 kB / 3.54 GB, free: 45.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006942/7.56, allocations: 446.4 kB / 3.54 GB, free: 45.21 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/7.561, allocations: 0.517 MB / 3.541 GB, free: 44.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/7.561, allocations: 0 / 3.541 GB, free: 44.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/7.561, allocations: 15.88 kB / 3.541 GB, free: 44.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/7.561, allocations: 17.31 kB / 3.541 GB, free: 44.64 MB / 0.8698 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.002198/7.563, allocations: 2.305 MB / 3.543 GB, free: 42.13 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/7.563, allocations: 332.9 kB / 3.543 GB, free: 41.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/7.564, allocations: 194.7 kB / 3.543 GB, free: 41.61 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/7.564, allocations: 299.6 kB / 3.544 GB, free: 41.26 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/7.564, allocations: 42.89 kB / 3.544 GB, free: 41.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 1.764e-06/7.564, allocations: 0 / 3.544 GB, free: 41.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.0008455/7.565, allocations: 431 kB / 3.544 GB, free: 40.79 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/7.565, allocations: 55.41 kB / 3.544 GB, free: 40.72 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/7.565, allocations: 365.3 kB / 3.545 GB, free: 40.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/7.565, allocations: 29.7 kB / 3.545 GB, free: 40.32 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/7.565, allocations: 328.2 kB / 3.545 GB, free: 39.99 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/7.566, allocations: 130 kB / 3.545 GB, free: 39.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/7.566, allocations: 0 / 3.545 GB, free: 39.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/7.566, allocations: 362.8 kB / 3.545 GB, free: 39.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/7.566, allocations: 136.8 kB / 3.545 GB, free: 39.36 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/7.566, allocations: 256.3 kB / 3.546 GB, free: 39.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/7.566, allocations: 195.8 kB / 3.546 GB, free: 38.88 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/7.566, allocations: 0 / 3.546 GB, free: 38.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006019/7.567, allocations: 468.6 kB / 3.546 GB, free: 38.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/7.567, allocations: 0.8771 MB / 3.547 GB, free: 37.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/7.567, allocations: 8.078 kB / 3.547 GB, free: 37.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/7.567, allocations: 8 kB / 3.547 GB, free: 37.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/7.568, allocations: 119.7 kB / 3.547 GB, free: 37.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002526/7.568, allocations: 0.5938 MB / 3.548 GB, free: 36.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/7.569, allocations: 75.61 kB / 3.548 GB, free: 36.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/7.569, allocations: 19.94 kB / 3.548 GB, free: 36.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/7.569, allocations: 4 kB / 3.548 GB, free: 36.62 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00053/7.569, allocations: 391.8 kB / 3.548 GB, free: 36.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/7.569, allocations: 0 / 3.548 GB, free: 36.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/7.569, allocations: 8 kB / 3.548 GB, free: 36.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/7.57, allocations: 99.83 kB / 3.548 GB, free: 36.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/7.57, allocations: 8 kB / 3.548 GB, free: 36.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/7.57, allocations: 59.92 kB / 3.549 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/7.57, allocations: 27.98 kB / 3.549 GB, free: 36.04 MB / 0.8698 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.0001007/7.57, allocations: 120.8 kB / 3.549 GB, free: 35.91 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005173/7.571, allocations: 389 kB / 3.549 GB, free: 35.53 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/7.571, allocations: 55.34 kB / 3.549 GB, free: 35.47 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/7.572, allocations: 418.8 kB / 3.549 GB, free: 35.06 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/7.572, allocations: 4 kB / 3.549 GB, free: 35.05 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/7.572, allocations: 0 / 3.549 GB, free: 35.05 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005281/7.572, allocations: 0.6642 MB / 3.55 GB, free: 34.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/7.574, allocations: 1.154 MB / 3.551 GB, free: 33.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/7.574, allocations: 4.203 kB / 3.551 GB, free: 33.08 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/7.574, allocations: 111.8 kB / 3.551 GB, free: 32.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/7.574, allocations: 4 kB / 3.551 GB, free: 32.97 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/7.574, allocations: 11.95 kB / 3.551 GB, free: 32.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001803/7.574, allocations: 0.5905 MB / 3.552 GB, free: 32.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/7.574, allocations: 4.031 kB / 3.552 GB, free: 32.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/7.575, allocations: 0.8328 MB / 3.553 GB, free: 31.42 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/7.575, allocations: 176.4 kB / 3.553 GB, free: 31.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/7.575, allocations: 0 / 3.553 GB, free: 31.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/7.576, allocations: 47.94 kB / 3.553 GB, free: 31.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/7.576, allocations: 31.92 kB / 3.553 GB, free: 31.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/7.576, allocations: 16 kB / 3.553 GB, free: 31.14 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002442/7.576, allocations: 286.9 kB / 3.553 GB, free: 30.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.576, allocations: 0 / 3.553 GB, free: 30.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00113/7.577, allocations: 450.9 kB / 3.554 GB, free: 30.42 MB / 0.8698 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.002628/7.58, allocations: 3.29 MB / 3.557 GB, free: 27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009334/7.581, allocations: 0.5734 MB / 3.558 GB, free: 26.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/7.581, allocations: 1.125 kB / 3.558 GB, free: 26.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/7.581, allocations: 196.2 kB / 3.558 GB, free: 26.24 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/7.583, allocations: 319.6 kB / 3.558 GB, free: 25.94 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/7.585, allocations: 1.229 MB / 3.559 GB, free: 24.64 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/7.585, allocations: 0.962 MB / 3.56 GB, free: 23.65 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007601/7.586, allocations: 232.6 kB / 3.56 GB, free: 23.42 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/7.586, allocations: 223.3 kB / 3.561 GB, free: 23.2 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/7.586, allocations: 0 / 3.561 GB, free: 23.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5246/8.111, allocations: 26.54 MB / 3.587 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/8.111, allocations: 165.9 kB / 3.587 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/10.86, allocations: 0 / 3.587 GB, free: 189.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)