Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7605/0.7605, allocations: 128.7 MB / 143.7 MB, free: 2.363 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 193.4 kB / 173.8 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009671/0.0009669, allocations: 94.89 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.000389, allocations: 11.34 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 76.78 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.441/4.599, allocations: 2.157 GB / 2.792 GB, free: 220 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/4.599, allocations: 93.19 kB / 2.792 GB, free: 220 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.679/6.278, allocations: 482 MB / 3.263 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/6.278, allocations: 1.312 kB / 3.263 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.618e-05/6.278, allocations: 21 kB / 3.263 GB, free: 118.6 MB / 0.6511 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.002669/6.281, allocations: 1.141 MB / 3.264 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/6.281, allocations: 9.656 kB / 3.264 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/6.281, allocations: 99.2 kB / 3.264 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/6.283, allocations: 268.5 kB / 3.264 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/6.284, allocations: 0.6252 MB / 3.265 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/6.284, allocations: 50.38 kB / 3.265 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/6.284, allocations: 57.86 kB / 3.265 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/6.285, allocations: 0.6519 MB / 3.266 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/6.285, allocations: 2.531 kB / 3.266 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.82e-05/6.285, allocations: 25.61 kB / 3.266 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/6.285, allocations: 21.56 kB / 3.266 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/6.287, allocations: 0.5377 MB / 3.266 GB, free: 117.8 MB / 0.6511 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.002833/6.289, allocations: 2.41 MB / 3.269 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/6.29, allocations: 423.3 kB / 3.269 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/6.291, allocations: 302 kB / 3.269 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/6.291, allocations: 37.5 kB / 3.269 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 3.346e-06/6.291, allocations: 1.594 kB / 3.269 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001656/6.292, allocations: 0.663 MB / 3.27 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/6.292, allocations: 57.84 kB / 3.27 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/6.293, allocations: 438.7 kB / 3.27 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/6.293, allocations: 34.55 kB / 3.27 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/6.293, allocations: 321.4 kB / 3.271 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/6.293, allocations: 132.1 kB / 3.271 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/6.293, allocations: 11.91 kB / 3.271 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001027/6.293, allocations: 372 kB / 3.271 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/6.294, allocations: 169.4 kB / 3.271 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/6.294, allocations: 286.6 kB / 3.272 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/6.294, allocations: 216.5 kB / 3.272 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/6.294, allocations: 0 / 3.272 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008466/6.295, allocations: 0.5351 MB / 3.272 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/6.295, allocations: 0.7859 MB / 3.273 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/6.295, allocations: 7.469 kB / 3.273 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/6.296, allocations: 3.938 kB / 3.273 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/6.297, allocations: 191.1 kB / 3.273 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006876/6.297, allocations: 0.6604 MB / 3.274 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/6.298, allocations: 86.66 kB / 3.274 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/6.298, allocations: 17.94 kB / 3.274 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/6.298, allocations: 6.719 kB / 3.274 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006509/6.299, allocations: 438.4 kB / 3.274 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/6.299, allocations: 7.062 kB / 3.274 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/6.299, allocations: 7.25 kB / 3.275 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/6.299, allocations: 97.95 kB / 3.275 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/6.299, allocations: 8.531 kB / 3.275 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/6.3, allocations: 74.75 kB / 3.275 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/6.3, allocations: 25.92 kB / 3.275 GB, free: 113.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (52): * Single equations (assignments): 51 * 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.0003704/6.3, allocations: 306.9 kB / 3.275 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/6.3, allocations: 55.44 kB / 3.275 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008465/6.301, allocations: 492.9 kB / 3.276 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/6.301, allocations: 3.375 kB / 3.276 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/6.301, allocations: 3.531 kB / 3.276 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007026/6.302, allocations: 0.714 MB / 3.276 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/6.304, allocations: 1.268 MB / 3.277 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/6.304, allocations: 5 kB / 3.277 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/6.305, allocations: 195.8 kB / 3.278 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/6.305, allocations: 15.67 kB / 3.278 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/6.305, allocations: 13.7 kB / 3.278 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/6.307, allocations: 1.513 MB / 3.279 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/6.307, allocations: 1.844 kB / 3.279 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/6.309, allocations: 0.9024 MB / 3.28 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/6.309, allocations: 181.5 kB / 3.28 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/6.309, allocations: 10.94 kB / 3.28 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/6.31, allocations: 59.44 kB / 3.28 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/6.31, allocations: 33.8 kB / 3.28 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/6.31, allocations: 17.72 kB / 3.28 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003982/6.31, allocations: 346.2 kB / 3.281 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/6.31, allocations: 0 / 3.281 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001643/6.312, allocations: 480.7 kB / 3.281 GB, free: 110.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 37 * 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.003658/6.315, allocations: 3.138 MB / 3.284 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002163/6.318, allocations: 0.7259 MB / 3.285 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/6.318, allocations: 3.344 kB / 3.285 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/6.319, allocations: 312.2 kB / 3.285 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/6.321, allocations: 353.8 kB / 3.286 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/6.327, allocations: 5 MB / 3.29 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/6.328, allocations: 0.9575 MB / 3.291 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009769/6.329, allocations: 199.3 kB / 3.292 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/6.329, allocations: 221.8 kB / 3.292 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/6.329, allocations: 1.031 kB / 3.292 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06901/6.398, allocations: 38.3 MB / 3.329 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/6.399, allocations: 244.2 kB / 3.329 GB, free: 105 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/9.647, allocations: 3.812 kB / 3.329 GB, free: 105 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)