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.448/1.448, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 181.4 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0009896/0.0009897, allocations: 95.97 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003703, allocations: 8.844 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2668, allocations: 106.3 MB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.301/5.568, allocations: 2.198 GB / 3.098 GB, free: 22.39 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/5.569, allocations: 91.95 kB / 3.098 GB, free: 22.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.227/7.795, allocations: 470.7 MB / 3.558 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.045e-06/7.796, allocations: 0 / 3.558 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001335/7.796, allocations: 25.14 kB / 3.558 GB, free: 219.4 MB / 0.8855 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.003758/7.799, allocations: 1.146 MB / 3.559 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/7.8, allocations: 9.219 kB / 3.559 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003292/7.8, allocations: 92.44 kB / 3.559 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/7.802, allocations: 264.5 kB / 3.56 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/7.804, allocations: 0.6147 MB / 3.56 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/7.804, allocations: 43.25 kB / 3.56 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/7.804, allocations: 58.28 kB / 3.56 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/7.805, allocations: 0.624 MB / 3.561 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/7.805, allocations: 0 / 3.561 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/7.806, allocations: 23.03 kB / 3.561 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/7.806, allocations: 20.62 kB / 3.561 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/7.807, allocations: 0.5029 MB / 3.562 GB, free: 218.4 MB / 0.8855 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.003568/7.81, allocations: 2.432 MB / 3.564 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/7.811, allocations: 359.2 kB / 3.564 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004878/7.811, allocations: 302.5 kB / 3.565 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/7.811, allocations: 43.14 kB / 3.565 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 2.244e-06/7.811, allocations: 0 / 3.565 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.001309/7.813, allocations: 0.6118 MB / 3.565 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/7.813, allocations: 58.03 kB / 3.565 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/7.813, allocations: 434.7 kB / 3.566 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/7.813, allocations: 37.36 kB / 3.566 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/7.813, allocations: 324.9 kB / 3.566 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/7.813, allocations: 138.2 kB / 3.566 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/7.813, allocations: 10.69 kB / 3.566 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001165/7.814, allocations: 372.8 kB / 3.566 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/7.814, allocations: 163.2 kB / 3.567 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/7.814, allocations: 287.6 kB / 3.567 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/7.815, allocations: 200 kB / 3.567 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/7.815, allocations: 3.094 kB / 3.567 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007835/7.815, allocations: 0.521 MB / 3.568 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002274/7.816, allocations: 0.8765 MB / 3.568 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/7.816, allocations: 7.172 kB / 3.568 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/7.816, allocations: 3.781 kB / 3.568 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/7.816, allocations: 122.5 kB / 3.569 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003136/7.817, allocations: 0.5927 MB / 3.569 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/7.817, allocations: 83.48 kB / 3.569 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/7.817, allocations: 18.94 kB / 3.569 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/7.817, allocations: 3.906 kB / 3.569 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006782/7.818, allocations: 443.1 kB / 3.57 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/7.818, allocations: 7.188 kB / 3.57 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/7.818, allocations: 7.156 kB / 3.57 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/7.818, allocations: 105.2 kB / 3.57 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/7.818, allocations: 14.23 kB / 3.57 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/7.819, allocations: 72.36 kB / 3.57 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/7.819, allocations: 18.81 kB / 3.57 GB, free: 214.2 MB / 0.8855 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.0003889/7.819, allocations: 314.2 kB / 3.57 GB, free: 214 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/7.819, allocations: 58.5 kB / 3.57 GB, free: 214 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008108/7.82, allocations: 475.1 kB / 3.571 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/7.82, allocations: 3.781 kB / 3.571 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/7.82, allocations: 3.953 kB / 3.571 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006452/7.821, allocations: 0.6981 MB / 3.571 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/7.823, allocations: 1.271 MB / 3.573 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/7.823, allocations: 2.625 kB / 3.573 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/7.823, allocations: 107.9 kB / 3.573 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/7.823, allocations: 3.312 kB / 3.573 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/7.823, allocations: 18.97 kB / 3.573 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002434/7.824, allocations: 0.5891 MB / 3.573 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/7.824, allocations: 0 / 3.573 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/7.825, allocations: 0.9009 MB / 3.574 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/7.825, allocations: 192.8 kB / 3.574 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/7.825, allocations: 11.47 kB / 3.574 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/7.826, allocations: 51.8 kB / 3.574 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/7.826, allocations: 30.36 kB / 3.574 GB, free: 212 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/7.826, allocations: 21.36 kB / 3.575 GB, free: 212 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003646/7.826, allocations: 342.7 kB / 3.575 GB, free: 212 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/7.826, allocations: 3.25 kB / 3.575 GB, free: 212 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001499/7.828, allocations: 0.4883 MB / 3.575 GB, free: 211.9 MB / 0.8855 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 () * 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.003545/7.831, allocations: 3.184 MB / 3.578 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001397/7.833, allocations: 0.649 MB / 3.579 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/7.833, allocations: 0 / 3.579 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/7.833, allocations: 222.2 kB / 3.579 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/7.835, allocations: 354.1 kB / 3.58 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/7.84, allocations: 5.12 MB / 3.585 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/7.841, allocations: 0.9642 MB / 3.586 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007913/7.842, allocations: 209.8 kB / 3.586 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/7.842, allocations: 223.9 kB / 3.586 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of SimCode: time 6.873e-06/7.842, allocations: 3.938 kB / 3.586 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06313/7.905, allocations: 38.16 MB / 3.623 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/7.905, allocations: 239.2 kB / 3.623 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.427/11.33, allocations: 0 / 3.623 GB, free: 186.4 MB / 0.8855 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)