Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",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.787/0.787, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001078/0.001079, allocations: 180.2 kB / 173.7 MB, free: 6.125 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.689/1.689, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009702/0.0009701, allocations: 85.19 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 13.91 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1831, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.406, allocations: 361.6 MB / 0.9885 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/1.406, allocations: 93.59 kB / 0.9886 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3166/1.723, allocations: 165.5 MB / 1.15 GB, free: 87.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.334e-06/1.723, allocations: 0 / 1.15 GB, free: 87.51 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.435e-05/1.723, allocations: 12 kB / 1.15 GB, free: 87.5 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001314/1.724, allocations: 0.7521 MB / 1.151 GB, free: 86.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.724, allocations: 8.031 kB / 1.151 GB, free: 86.69 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/1.724, allocations: 50.55 kB / 1.151 GB, free: 86.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/1.725, allocations: 43.44 kB / 1.151 GB, free: 86.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02508/1.75, allocations: 13.33 MB / 1.164 GB, free: 73.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/1.75, allocations: 12.33 kB / 1.164 GB, free: 73.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/1.75, allocations: 20 kB / 1.164 GB, free: 73.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/1.751, allocations: 216.1 kB / 1.164 GB, free: 72.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.751, allocations: 0 / 1.164 GB, free: 72.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/1.751, allocations: 16 kB / 1.164 GB, free: 72.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.751, allocations: 4 kB / 1.164 GB, free: 72.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006784/1.751, allocations: 180.1 kB / 1.165 GB, free: 72.62 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.001139/1.753, allocations: 0.8138 MB / 1.165 GB, free: 71.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/1.753, allocations: 146.4 kB / 1.166 GB, free: 71.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002581/1.753, allocations: 332.5 kB / 1.166 GB, free: 71.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/1.754, allocations: 34.56 kB / 1.166 GB, free: 71.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/1.754, allocations: 0 / 1.166 GB, free: 71.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.00125/1.755, allocations: 285.2 kB / 1.166 GB, free: 70.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/1.755, allocations: 51.41 kB / 1.166 GB, free: 70.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/1.755, allocations: 288.9 kB / 1.166 GB, free: 70.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/1.755, allocations: 29.7 kB / 1.166 GB, free: 70.44 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.755, allocations: 200 kB / 1.167 GB, free: 70.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/1.755, allocations: 35.64 kB / 1.167 GB, free: 70.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-06/1.755, allocations: 4 kB / 1.167 GB, free: 70.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/1.755, allocations: 342.8 kB / 1.167 GB, free: 69.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/1.756, allocations: 55.95 kB / 1.167 GB, free: 69.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/1.756, allocations: 102.8 kB / 1.167 GB, free: 69.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/1.756, allocations: 66.77 kB / 1.167 GB, free: 69.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.756, allocations: 0 / 1.167 GB, free: 69.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004218/1.756, allocations: 193 kB / 1.167 GB, free: 69.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/1.757, allocations: 189.9 kB / 1.168 GB, free: 69.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.757, allocations: 0 / 1.168 GB, free: 69.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.757, allocations: 4.469 kB / 1.168 GB, free: 69.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/1.757, allocations: 27.97 kB / 1.168 GB, free: 69.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.757, allocations: 4 kB / 1.168 GB, free: 69.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/1.757, allocations: 39.81 kB / 1.168 GB, free: 69.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/1.757, allocations: 4 kB / 1.168 GB, free: 69.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/1.757, allocations: 9.344 kB / 1.168 GB, free: 69.13 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002348/1.757, allocations: 103.9 kB / 1.168 GB, free: 69.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/1.757, allocations: 0 / 1.168 GB, free: 69.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/1.757, allocations: 8.031 kB / 1.168 GB, free: 69.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/1.757, allocations: 27.92 kB / 1.168 GB, free: 69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/1.757, allocations: 3.984 kB / 1.168 GB, free: 68.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/1.758, allocations: 27.88 kB / 1.168 GB, free: 68.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/1.758, allocations: 8 kB / 1.168 GB, free: 68.96 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/1.758, allocations: 217.1 kB / 1.168 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/1.758, allocations: 39.53 kB / 1.168 GB, free: 68.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/1.758, allocations: 213.5 kB / 1.168 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.758, allocations: 4 kB / 1.168 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.758, allocations: 0 / 1.168 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.758, allocations: 7.938 kB / 1.168 GB, free: 68.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/1.759, allocations: 293.4 kB / 1.169 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.759, allocations: 4 kB / 1.169 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.759, allocations: 27.91 kB / 1.169 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.759, allocations: 0 / 1.169 GB, free: 68.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.759, allocations: 12 kB / 1.169 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.759, allocations: 0 / 1.169 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.759, allocations: 0 / 1.169 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/1.759, allocations: 212.5 kB / 1.169 GB, free: 67.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/1.759, allocations: 108.6 kB / 1.169 GB, free: 67.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/1.759, allocations: 4 kB / 1.169 GB, free: 67.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/1.76, allocations: 27.97 kB / 1.169 GB, free: 67.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/1.76, allocations: 3.984 kB / 1.169 GB, free: 67.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/1.76, allocations: 8 kB / 1.169 GB, free: 67.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002027/1.76, allocations: 255.1 kB / 1.169 GB, free: 67.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.76, allocations: 0 / 1.169 GB, free: 67.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005651/1.761, allocations: 155.8 kB / 1.169 GB, free: 67.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/1.762, allocations: 0.9246 MB / 1.17 GB, free: 66.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005476/1.762, allocations: 183.8 kB / 1.17 GB, free: 66.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.762, allocations: 0 / 1.17 GB, free: 66.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/1.762, allocations: 59.95 kB / 1.171 GB, free: 66.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/1.763, allocations: 142.8 kB / 1.171 GB, free: 65.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/1.766, allocations: 1.829 MB / 1.172 GB, free: 64.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/1.766, allocations: 0.796 MB / 1.173 GB, free: 63.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002988/1.766, allocations: 71.28 kB / 1.173 GB, free: 63.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/1.766, allocations: 115.4 kB / 1.173 GB, free: 63.09 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/1.766, allocations: 0 / 1.173 GB, free: 63.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/1.792, allocations: 10.24 MB / 1.183 GB, free: 53.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.792, allocations: 238.8 kB / 1.184 GB, free: 52.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/4.263, allocations: 4 kB / 1.184 GB, free: 52.86 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)