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.7285/0.7285, allocations: 127.4 MB / 134.9 MB, free: 3.785 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.001195/0.001195, allocations: 176.9 kB / 164.7 MB, free: 6.527 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.686/1.686, allocations: 205.2 MB / 399.5 MB, free: 5.871 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.0008974/0.0008973, allocations: 90.09 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.85e-05, allocations: 11.98 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.172, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.459/5.631, allocations: 2.156 GB / 2.778 GB, free: 75.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/5.631, allocations: 95.94 kB / 2.778 GB, free: 75.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.744/7.376, allocations: 476 MB / 3.243 GB, free: 88.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/7.376, allocations: 0 / 3.243 GB, free: 88.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.314e-05/7.376, allocations: 19.2 kB / 3.243 GB, free: 88.47 MB / 0.6355 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.002249/7.378, allocations: 1.036 MB / 3.244 GB, free: 87.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/7.378, allocations: 12.03 kB / 3.244 GB, free: 87.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/7.381, allocations: 258.8 kB / 3.244 GB, free: 87.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/7.382, allocations: 0.6275 MB / 3.245 GB, free: 86.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/7.382, allocations: 16 kB / 3.245 GB, free: 86.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/7.382, allocations: 32 kB / 3.245 GB, free: 86.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009602/7.383, allocations: 454.4 kB / 3.245 GB, free: 85.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/7.384, allocations: 0.5166 MB / 3.246 GB, free: 85.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/7.384, allocations: 4 kB / 3.246 GB, free: 85.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/7.384, allocations: 0 / 3.246 GB, free: 85.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/7.384, allocations: 17.31 kB / 3.246 GB, free: 85.43 MB / 0.6355 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.00303/7.387, allocations: 2.309 MB / 3.248 GB, free: 82.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/7.388, allocations: 359.2 kB / 3.248 GB, free: 82.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/7.388, allocations: 188.8 kB / 3.248 GB, free: 82.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/7.389, allocations: 303.9 kB / 3.249 GB, free: 82.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/7.389, allocations: 42.55 kB / 3.249 GB, free: 82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 2.004e-06/7.389, allocations: 0 / 3.249 GB, free: 82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.001501/7.39, allocations: 440.3 kB / 3.249 GB, free: 81.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/7.39, allocations: 59.41 kB / 3.249 GB, free: 81.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/7.391, allocations: 365.2 kB / 3.249 GB, free: 81.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/7.391, allocations: 25.7 kB / 3.25 GB, free: 81.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/7.391, allocations: 324.3 kB / 3.25 GB, free: 80.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/7.391, allocations: 134 kB / 3.25 GB, free: 80.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/7.391, allocations: 0 / 3.25 GB, free: 80.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000102/7.391, allocations: 366.7 kB / 3.25 GB, free: 80.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/7.392, allocations: 140.8 kB / 3.25 GB, free: 80.13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/7.392, allocations: 243.5 kB / 3.251 GB, free: 79.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/7.392, allocations: 204 kB / 3.251 GB, free: 79.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/7.392, allocations: 4 kB / 3.251 GB, free: 79.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009406/7.393, allocations: 468.7 kB / 3.251 GB, free: 79.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/7.394, allocations: 0.794 MB / 3.252 GB, free: 78.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/7.394, allocations: 4 kB / 3.252 GB, free: 78.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/7.394, allocations: 12 kB / 3.252 GB, free: 78.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/7.395, allocations: 183.8 kB / 3.252 GB, free: 78.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007088/7.396, allocations: 0.6484 MB / 3.253 GB, free: 77.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/7.397, allocations: 67.73 kB / 3.253 GB, free: 77.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/7.397, allocations: 19.98 kB / 3.253 GB, free: 77.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/7.397, allocations: 4.781 kB / 3.253 GB, free: 77.37 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007976/7.398, allocations: 371.6 kB / 3.253 GB, free: 77.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/7.398, allocations: 7.953 kB / 3.253 GB, free: 77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/7.398, allocations: 4 kB / 3.253 GB, free: 77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/7.398, allocations: 108.1 kB / 3.253 GB, free: 76.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/7.398, allocations: 4 kB / 3.253 GB, free: 76.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/7.399, allocations: 63.64 kB / 3.254 GB, free: 76.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/7.399, allocations: 16 kB / 3.254 GB, free: 76.81 MB / 0.6355 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.0001464/7.399, allocations: 116.8 kB / 3.254 GB, free: 76.69 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000813/7.4, allocations: 397.4 kB / 3.254 GB, free: 76.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/7.4, allocations: 59.28 kB / 3.254 GB, free: 76.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009942/7.401, allocations: 426.8 kB / 3.254 GB, free: 75.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/7.401, allocations: 4 kB / 3.254 GB, free: 75.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/7.401, allocations: 0 / 3.254 GB, free: 75.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007921/7.402, allocations: 0.6639 MB / 3.255 GB, free: 75.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/7.404, allocations: 1.14 MB / 3.256 GB, free: 73.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/7.404, allocations: 0 / 3.256 GB, free: 73.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/7.406, allocations: 211.9 kB / 3.256 GB, free: 73.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/7.406, allocations: 4 kB / 3.256 GB, free: 73.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/7.406, allocations: 4 kB / 3.256 GB, free: 73.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/7.408, allocations: 1.395 MB / 3.258 GB, free: 72.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/7.408, allocations: 0 / 3.258 GB, free: 72.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/7.409, allocations: 0.8071 MB / 3.259 GB, free: 71.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/7.409, allocations: 176.4 kB / 3.259 GB, free: 71.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/7.409, allocations: 7.984 kB / 3.259 GB, free: 71.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007243/7.41, allocations: 47.95 kB / 3.259 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/7.41, allocations: 27.95 kB / 3.259 GB, free: 70.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/7.41, allocations: 23.94 kB / 3.259 GB, free: 70.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004037/7.411, allocations: 286.9 kB / 3.259 GB, free: 70.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/7.411, allocations: 0 / 3.259 GB, free: 70.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001754/7.413, allocations: 431 kB / 3.26 GB, free: 70.26 MB / 0.6355 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.003985/7.417, allocations: 3.227 MB / 3.263 GB, free: 67.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002038/7.419, allocations: 0.6402 MB / 3.263 GB, free: 66.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/7.419, allocations: 0 / 3.263 GB, free: 66.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/7.42, allocations: 276.9 kB / 3.264 GB, free: 66.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/7.422, allocations: 322.9 kB / 3.264 GB, free: 65.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/7.425, allocations: 1.227 MB / 3.265 GB, free: 64.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/7.425, allocations: 0.9616 MB / 3.266 GB, free: 63.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001172/7.426, allocations: 220.7 kB / 3.266 GB, free: 63.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/7.427, allocations: 219.4 kB / 3.266 GB, free: 63.17 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/7.427, allocations: 0 / 3.266 GB, free: 63.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06206/7.489, allocations: 26.66 MB / 3.293 GB, free: 36.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/7.489, allocations: 168.3 kB / 3.293 GB, free: 36.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/10.65, allocations: 0 / 3.293 GB, free: 36.42 MB / 0.6355 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)