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.7601/0.7601, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 176.8 kB / 169.7 MB, free: 1.75 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.823/1.823, allocations: 205.1 MB / 404.5 MB, free: 1.598 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.001017/0.001016, allocations: 99.11 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.065e-05/4.068e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1883, allocations: 76.77 MB / 0.6283 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.22/6.408, allocations: 2.156 GB / 2.785 GB, free: 171.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/6.408, allocations: 95.03 kB / 2.785 GB, free: 171 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.855/8.263, allocations: 481.5 MB / 3.255 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/8.263, allocations: 0 / 3.255 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.666e-05/8.263, allocations: 24.78 kB / 3.255 GB, free: 125.3 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.002174/8.265, allocations: 1.023 MB / 3.256 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/8.265, allocations: 15.28 kB / 3.256 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/8.265, allocations: 92.3 kB / 3.256 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/8.267, allocations: 271.3 kB / 3.256 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/8.269, allocations: 0.6308 MB / 3.257 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/8.269, allocations: 39.88 kB / 3.257 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/8.269, allocations: 55.03 kB / 3.257 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/8.27, allocations: 0.6223 MB / 3.258 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/8.27, allocations: 6.812 kB / 3.258 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/8.27, allocations: 25.53 kB / 3.258 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/8.27, allocations: 19.41 kB / 3.258 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009017/8.271, allocations: 0.4885 MB / 3.258 GB, free: 124.3 MB / 0.6511 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.002773/8.274, allocations: 2.415 MB / 3.261 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/8.275, allocations: 398.4 kB / 3.261 GB, free: 123 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/8.275, allocations: 204.4 kB / 3.261 GB, free: 123 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004771/8.276, allocations: 301.2 kB / 3.261 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/8.276, allocations: 42.88 kB / 3.262 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 2.835e-06/8.276, allocations: 0 / 3.262 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001191/8.277, allocations: 460.1 kB / 3.262 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/8.277, allocations: 62.69 kB / 3.262 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/8.277, allocations: 432.4 kB / 3.262 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/8.277, allocations: 31.95 kB / 3.262 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/8.278, allocations: 324.2 kB / 3.263 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/8.278, allocations: 142.9 kB / 3.263 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/8.278, allocations: 10.09 kB / 3.263 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00013/8.278, allocations: 368.9 kB / 3.263 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/8.278, allocations: 147.4 kB / 3.263 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/8.278, allocations: 259.7 kB / 3.264 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/8.279, allocations: 191.9 kB / 3.264 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/8.279, allocations: 3.281 kB / 3.264 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007169/8.279, allocations: 481.6 kB / 3.264 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002386/8.28, allocations: 0.8007 MB / 3.265 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/8.28, allocations: 0 / 3.265 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/8.28, allocations: 3.906 kB / 3.265 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/8.281, allocations: 188.8 kB / 3.265 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006344/8.281, allocations: 0.6408 MB / 3.266 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/8.282, allocations: 84.58 kB / 3.266 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/8.282, allocations: 20.61 kB / 3.266 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/8.282, allocations: 3.25 kB / 3.266 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005946/8.283, allocations: 400.2 kB / 3.266 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/8.283, allocations: 5.594 kB / 3.266 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/8.283, allocations: 6.328 kB / 3.266 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/8.283, allocations: 100.8 kB / 3.266 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/8.283, allocations: 7.906 kB / 3.266 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/8.284, allocations: 74.78 kB / 3.267 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/8.284, allocations: 22.67 kB / 3.267 GB, free: 120.3 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 () * 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.000133/8.284, allocations: 131 kB / 3.267 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/8.284, allocations: 56.5 kB / 3.267 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007209/8.285, allocations: 441.9 kB / 3.267 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/8.285, allocations: 6.312 kB / 3.267 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/8.285, allocations: 7.734 kB / 3.267 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005578/8.285, allocations: 0.6602 MB / 3.268 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/8.287, allocations: 1.229 MB / 3.269 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/8.287, allocations: 0 / 3.269 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/8.288, allocations: 203.7 kB / 3.269 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/8.288, allocations: 2.531 kB / 3.269 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/8.288, allocations: 11.53 kB / 3.269 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/8.29, allocations: 1.437 MB / 3.271 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/8.29, allocations: 3.938 kB / 3.271 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/8.291, allocations: 0.8231 MB / 3.271 GB, free: 117.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/8.291, allocations: 180.7 kB / 3.272 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/8.291, allocations: 15.06 kB / 3.272 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/8.292, allocations: 54.72 kB / 3.272 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/8.292, allocations: 30.94 kB / 3.272 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/8.292, allocations: 14.59 kB / 3.272 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004226/8.292, allocations: 338.9 kB / 3.272 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.91e-07/8.292, allocations: 0 / 3.272 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001647/8.294, allocations: 485.9 kB / 3.273 GB, free: 117.4 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 () * 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.003259/8.297, allocations: 3.08 MB / 3.276 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001798/8.299, allocations: 0.6777 MB / 3.276 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/8.299, allocations: 0 / 3.276 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009205/8.3, allocations: 288.6 kB / 3.276 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/8.302, allocations: 345.3 kB / 3.277 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/8.305, allocations: 1.258 MB / 3.278 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/8.305, allocations: 0.9663 MB / 3.279 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008547/8.306, allocations: 239.7 kB / 3.279 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/8.306, allocations: 221.6 kB / 3.279 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/8.306, allocations: 0 / 3.279 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07322/8.379, allocations: 42.79 MB / 3.321 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/8.38, allocations: 213.3 kB / 3.321 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.475/11.85, allocations: 4 kB / 3.321 GB, free: 111.1 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)