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: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8154/0.8154, allocations: 128.7 MB / 143.7 MB, free: 2.301 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.001568/0.001568, allocations: 185.8 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 2.361/2.361, allocations: 205.4 MB / 409 MB, free: 10.5 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.001352/0.001352, allocations: 98.61 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004981, allocations: 8.75 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2632, allocations: 76.76 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.67/1.933, allocations: 361.6 MB / 0.9885 GB, free: 241.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/1.933, allocations: 91.45 kB / 0.9885 GB, free: 241.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3411/2.274, allocations: 165.5 MB / 1.15 GB, free: 101 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.178e-06/2.274, allocations: 0 / 1.15 GB, free: 101 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.399e-05/2.275, allocations: 8 kB / 1.15 GB, free: 101 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.001938/2.276, allocations: 0.7596 MB / 1.151 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/2.277, allocations: 8.031 kB / 1.151 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/2.277, allocations: 39.53 kB / 1.151 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02755/2.304, allocations: 13.32 MB / 1.164 GB, free: 86.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/2.304, allocations: 16.33 kB / 1.164 GB, free: 86.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/2.304, allocations: 23.94 kB / 1.164 GB, free: 86.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/2.305, allocations: 220.1 kB / 1.164 GB, free: 86.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/2.305, allocations: 0 / 1.164 GB, free: 86.34 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/2.305, allocations: 4 kB / 1.164 GB, free: 86.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/2.305, allocations: 7.984 kB / 1.164 GB, free: 86.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006898/2.306, allocations: 180.1 kB / 1.164 GB, free: 86.15 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.001238/2.307, allocations: 0.8099 MB / 1.165 GB, free: 85.24 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/2.308, allocations: 138.5 kB / 1.165 GB, free: 85.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/2.308, allocations: 344.5 kB / 1.166 GB, free: 84.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/2.308, allocations: 30.56 kB / 1.166 GB, free: 84.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.454e-06/2.308, allocations: 0 / 1.166 GB, free: 84.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.001328/2.31, allocations: 285.2 kB / 1.166 GB, free: 84.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/2.31, allocations: 51.41 kB / 1.166 GB, free: 84.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/2.31, allocations: 296.8 kB / 1.166 GB, free: 84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/2.31, allocations: 29.7 kB / 1.166 GB, free: 83.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/2.31, allocations: 200 kB / 1.167 GB, free: 83.76 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/2.31, allocations: 31.55 kB / 1.167 GB, free: 83.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/2.31, allocations: 0 / 1.167 GB, free: 83.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001214/2.31, allocations: 346.8 kB / 1.167 GB, free: 83.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/2.311, allocations: 47.95 kB / 1.167 GB, free: 83.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/2.311, allocations: 110.8 kB / 1.167 GB, free: 83.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/2.311, allocations: 62.7 kB / 1.167 GB, free: 83.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/2.311, allocations: 0 / 1.167 GB, free: 83.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004523/2.312, allocations: 193.5 kB / 1.167 GB, free: 82.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/2.312, allocations: 186 kB / 1.167 GB, free: 82.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/2.312, allocations: 3.984 kB / 1.167 GB, free: 82.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/2.312, allocations: 0 / 1.167 GB, free: 82.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/2.312, allocations: 35.97 kB / 1.168 GB, free: 82.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/2.312, allocations: 0 / 1.168 GB, free: 82.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/2.312, allocations: 31.83 kB / 1.168 GB, free: 82.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/2.312, allocations: 19.92 kB / 1.168 GB, free: 82.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/2.312, allocations: 4 kB / 1.168 GB, free: 82.66 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002353/2.312, allocations: 107.8 kB / 1.168 GB, free: 82.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/2.313, allocations: 4 kB / 1.168 GB, free: 82.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-06/2.313, allocations: 0 / 1.168 GB, free: 82.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/2.313, allocations: 23.98 kB / 1.168 GB, free: 82.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/2.313, allocations: 0 / 1.168 GB, free: 82.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/2.313, allocations: 39.86 kB / 1.168 GB, free: 82.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/2.313, allocations: 4 kB / 1.168 GB, free: 82.48 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.0001829/2.313, allocations: 217.1 kB / 1.168 GB, free: 82.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/2.313, allocations: 35.53 kB / 1.168 GB, free: 82.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/2.314, allocations: 217.6 kB / 1.168 GB, free: 82.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/2.314, allocations: 0 / 1.168 GB, free: 82.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/2.314, allocations: 0 / 1.168 GB, free: 82.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/2.314, allocations: 3.953 kB / 1.168 GB, free: 82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/2.314, allocations: 305.4 kB / 1.168 GB, free: 81.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/2.314, allocations: 0 / 1.168 GB, free: 81.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/2.314, allocations: 31.91 kB / 1.169 GB, free: 81.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/2.314, allocations: 8 kB / 1.169 GB, free: 81.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/2.314, allocations: 0 / 1.169 GB, free: 81.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/2.314, allocations: 0 / 1.169 GB, free: 81.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/2.314, allocations: 0 / 1.169 GB, free: 81.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/2.315, allocations: 212.6 kB / 1.169 GB, free: 81.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/2.315, allocations: 116.8 kB / 1.169 GB, free: 81.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/2.315, allocations: 0 / 1.169 GB, free: 81.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/2.315, allocations: 27.91 kB / 1.169 GB, free: 81.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/2.315, allocations: 11.98 kB / 1.169 GB, free: 81.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/2.315, allocations: 4 kB / 1.169 GB, free: 81.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002248/2.315, allocations: 247.2 kB / 1.169 GB, free: 80.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/2.315, allocations: 0 / 1.169 GB, free: 80.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006454/2.316, allocations: 155.8 kB / 1.169 GB, free: 80.83 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.0007569/2.317, allocations: 291 kB / 1.17 GB, free: 80.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005882/2.317, allocations: 183.8 kB / 1.17 GB, free: 80.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/2.317, allocations: 0 / 1.17 GB, free: 80.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/2.318, allocations: 63.95 kB / 1.17 GB, free: 80.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006513/2.318, allocations: 140.4 kB / 1.17 GB, free: 80.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/2.319, allocations: 0.6222 MB / 1.171 GB, free: 79.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/2.32, allocations: 0.8037 MB / 1.171 GB, free: 78.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002776/2.32, allocations: 59.23 kB / 1.171 GB, free: 78.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/2.32, allocations: 39.42 kB / 1.171 GB, free: 78.59 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/2.32, allocations: 0 / 1.171 GB, free: 78.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.0126/2.333, allocations: 6.375 MB / 1.178 GB, free: 72.3 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)