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.477/1.477, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001141/0.001141, allocations: 178.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008485/0.0008486, allocations: 82.48 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.328e-05, allocations: 7.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2192, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.792/6.011, allocations: 2.198 GB / 3.09 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/6.012, allocations: 87.95 kB / 3.09 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.489/7.501, allocations: 470.3 MB / 3.549 GB, free: 51.77 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.422e-06/7.501, allocations: 0 / 3.549 GB, free: 51.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.941e-05/7.501, allocations: 24 kB / 3.549 GB, free: 51.75 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.002041/7.503, allocations: 1.029 MB / 3.55 GB, free: 50.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/7.503, allocations: 8.031 kB / 3.55 GB, free: 50.67 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/7.504, allocations: 102.5 kB / 3.551 GB, free: 50.56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/7.505, allocations: 266.8 kB / 3.551 GB, free: 50.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/7.507, allocations: 0.6107 MB / 3.551 GB, free: 49.65 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/7.507, allocations: 45.31 kB / 3.551 GB, free: 49.61 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/7.507, allocations: 52 kB / 3.551 GB, free: 49.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009199/7.508, allocations: 0.5973 MB / 3.552 GB, free: 48.94 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/7.508, allocations: 0 / 3.552 GB, free: 48.94 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/7.508, allocations: 20 kB / 3.552 GB, free: 48.92 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/7.508, allocations: 29.2 kB / 3.552 GB, free: 48.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/7.508, allocations: 473.1 kB / 3.553 GB, free: 48.43 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.00256/7.511, allocations: 2.424 MB / 3.555 GB, free: 45.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/7.511, allocations: 340.9 kB / 3.555 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/7.512, allocations: 209.4 kB / 3.555 GB, free: 45.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/7.512, allocations: 307.6 kB / 3.556 GB, free: 44.89 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/7.512, allocations: 38.84 kB / 3.556 GB, free: 44.85 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 2.205e-06/7.512, allocations: 0 / 3.556 GB, free: 44.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.0008332/7.513, allocations: 427.4 kB / 3.556 GB, free: 44.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/7.513, allocations: 59.34 kB / 3.556 GB, free: 44.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/7.514, allocations: 432.9 kB / 3.557 GB, free: 43.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/7.514, allocations: 37.64 kB / 3.557 GB, free: 43.88 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/7.514, allocations: 324.4 kB / 3.557 GB, free: 43.56 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/7.514, allocations: 141.9 kB / 3.557 GB, free: 43.42 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/7.514, allocations: 12 kB / 3.557 GB, free: 43.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/7.514, allocations: 366.8 kB / 3.557 GB, free: 43.04 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/7.514, allocations: 148.7 kB / 3.558 GB, free: 42.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/7.514, allocations: 261.2 kB / 3.558 GB, free: 42.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/7.515, allocations: 187.8 kB / 3.558 GB, free: 42.41 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/7.515, allocations: 0 / 3.558 GB, free: 42.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006542/7.515, allocations: 488.6 kB / 3.559 GB, free: 41.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002267/7.516, allocations: 0.8707 MB / 3.559 GB, free: 40.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/7.516, allocations: 4 kB / 3.559 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/7.516, allocations: 7.984 kB / 3.559 GB, free: 40.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/7.516, allocations: 111.8 kB / 3.559 GB, free: 40.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003156/7.517, allocations: 0.6055 MB / 3.56 GB, free: 40.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/7.517, allocations: 79.58 kB / 3.56 GB, free: 40.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/7.517, allocations: 23.98 kB / 3.56 GB, free: 40.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/7.517, allocations: 4 kB / 3.56 GB, free: 40.13 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005574/7.518, allocations: 411.9 kB / 3.561 GB, free: 39.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/7.518, allocations: 4 kB / 3.561 GB, free: 39.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.73e-06/7.518, allocations: 4 kB / 3.561 GB, free: 39.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/7.518, allocations: 107.8 kB / 3.561 GB, free: 39.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/7.518, allocations: 4 kB / 3.561 GB, free: 39.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/7.519, allocations: 75.92 kB / 3.561 GB, free: 39.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/7.519, allocations: 12 kB / 3.561 GB, free: 39.53 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.0001202/7.519, allocations: 145.8 kB / 3.561 GB, free: 39.38 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/7.519, allocations: 63.25 kB / 3.561 GB, free: 39.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/7.52, allocations: 426.9 kB / 3.561 GB, free: 38.89 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/7.52, allocations: 7.938 kB / 3.561 GB, free: 38.88 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/7.52, allocations: 0 / 3.561 GB, free: 38.88 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005002/7.52, allocations: 0.6681 MB / 3.562 GB, free: 38.12 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/7.522, allocations: 1.227 MB / 3.563 GB, free: 36.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/7.522, allocations: 0 / 3.563 GB, free: 36.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/7.522, allocations: 108.1 kB / 3.563 GB, free: 36.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/7.522, allocations: 4 kB / 3.563 GB, free: 36.71 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/7.522, allocations: 15.95 kB / 3.563 GB, free: 36.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001934/7.523, allocations: 0.5937 MB / 3.564 GB, free: 36.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/7.523, allocations: 4.031 kB / 3.564 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/7.524, allocations: 0.8376 MB / 3.565 GB, free: 35.15 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/7.524, allocations: 188.2 kB / 3.565 GB, free: 34.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/7.524, allocations: 12 kB / 3.565 GB, free: 34.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/7.525, allocations: 51.89 kB / 3.565 GB, free: 34.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/7.525, allocations: 36 kB / 3.565 GB, free: 34.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/7.525, allocations: 19.98 kB / 3.565 GB, free: 34.83 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003607/7.525, allocations: 345.5 kB / 3.565 GB, free: 34.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.525, allocations: 0 / 3.565 GB, free: 34.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001588/7.527, allocations: 499.1 kB / 3.566 GB, free: 34.01 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.003025/7.53, allocations: 3.138 MB / 3.569 GB, free: 30.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001158/7.531, allocations: 0.6057 MB / 3.57 GB, free: 30.14 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/7.531, allocations: 4 kB / 3.57 GB, free: 30.14 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/7.531, allocations: 191.8 kB / 3.57 GB, free: 29.95 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/7.533, allocations: 361.4 kB / 3.57 GB, free: 29.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/7.535, allocations: 1.27 MB / 3.571 GB, free: 28.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/7.535, allocations: 0.9664 MB / 3.572 GB, free: 27.28 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008453/7.536, allocations: 256.7 kB / 3.572 GB, free: 27.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/7.537, allocations: 219.4 kB / 3.573 GB, free: 26.81 MB / 0.8698 GB Notification: Performance of SimCode: time 1.523e-06/7.537, allocations: 0 / 3.573 GB, free: 26.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6644/8.201, allocations: 42.64 MB / 3.614 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/8.201, allocations: 216.3 kB / 3.615 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/11.67, allocations: 0 / 3.615 GB, free: 176.1 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)