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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7408/0.7408, allocations: 117.9 MB / 133.9 MB, free: 9.203 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.0009653/0.0009656, allocations: 188.2 kB / 161.7 MB, free: 13.98 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.628/1.628, allocations: 205.4 MB / 394.8 MB, free: 10.09 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.0008139/0.0008139, allocations: 93.09 kB / 470.1 MB, free: 29.1 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 16 kB / 0.5423 GB, free: 9.766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1751, allocations: 74.55 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.254, allocations: 360.6 MB / 0.9672 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/1.254, allocations: 95.89 kB / 0.9673 GB, free: 166.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.661/1.915, allocations: 164.6 MB / 1.128 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.905e-06/1.915, allocations: 0 / 1.128 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.149e-05/1.915, allocations: 18.44 kB / 1.128 GB, free: 137.1 MB / 0.6198 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.0014/1.917, allocations: 0.7416 MB / 1.129 GB, free: 136.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.917, allocations: 11.52 kB / 1.129 GB, free: 136.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/1.917, allocations: 41.59 kB / 1.129 GB, free: 136.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/1.94, allocations: 11.12 MB / 1.14 GB, free: 136.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/1.94, allocations: 13.48 kB / 1.14 GB, free: 136.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/1.94, allocations: 23 kB / 1.14 GB, free: 136.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/1.941, allocations: 220.9 kB / 1.14 GB, free: 136 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.941, allocations: 3.938 kB / 1.14 GB, free: 136 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/1.941, allocations: 8.312 kB / 1.14 GB, free: 136 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.941, allocations: 6 kB / 1.14 GB, free: 136 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/1.942, allocations: 184.6 kB / 1.14 GB, free: 136 MB / 0.6198 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.001153/1.943, allocations: 0.8064 MB / 1.141 GB, free: 135.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/1.944, allocations: 141.7 kB / 1.141 GB, free: 135.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/1.944, allocations: 55.89 kB / 1.141 GB, free: 135.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/1.944, allocations: 336.7 kB / 1.141 GB, free: 135.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/1.944, allocations: 34.28 kB / 1.141 GB, free: 135 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.377e-06/1.944, allocations: 2.594 kB / 1.141 GB, free: 135 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001186/1.945, allocations: 289.3 kB / 1.142 GB, free: 135 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.945, allocations: 51.41 kB / 1.142 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/1.946, allocations: 334.8 kB / 1.142 GB, free: 134.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.946, allocations: 29.22 kB / 1.142 GB, free: 134.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.946, allocations: 203.4 kB / 1.142 GB, free: 134.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/1.946, allocations: 26.72 kB / 1.142 GB, free: 134.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/1.946, allocations: 2.969 kB / 1.142 GB, free: 134.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/1.946, allocations: 346.7 kB / 1.143 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/1.946, allocations: 48.2 kB / 1.143 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/1.946, allocations: 109.7 kB / 1.143 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/1.947, allocations: 129.9 kB / 1.143 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.947, allocations: 0 / 1.143 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004258/1.947, allocations: 187.9 kB / 1.143 GB, free: 134.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/1.947, allocations: 99.86 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.947, allocations: 3.938 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.947, allocations: 0 / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/1.947, allocations: 36.5 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.947, allocations: 3.25 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/1.948, allocations: 34.47 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/1.948, allocations: 9.938 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/1.948, allocations: 3.062 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002331/1.948, allocations: 104.1 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/1.948, allocations: 3.5 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-06/1.948, allocations: 2.969 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/1.948, allocations: 25.59 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/1.948, allocations: 4.375 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/1.948, allocations: 28.22 kB / 1.143 GB, free: 134.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/1.948, allocations: 9.516 kB / 1.143 GB, free: 134.1 MB / 0.6198 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.0001517/1.948, allocations: 227.7 kB / 1.144 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/1.949, allocations: 30.94 kB / 1.144 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/1.949, allocations: 223.5 kB / 1.144 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/1.949, allocations: 0 / 1.144 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.949, allocations: 6.781 kB / 1.144 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.949, allocations: 0 / 1.144 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/1.949, allocations: 306.3 kB / 1.144 GB, free: 133.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.949, allocations: 2.844 kB / 1.144 GB, free: 133.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/1.95, allocations: 26.08 kB / 1.144 GB, free: 133.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.95, allocations: 0 / 1.144 GB, free: 133.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/1.95, allocations: 3.219 kB / 1.144 GB, free: 133.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.95, allocations: 2.156 kB / 1.144 GB, free: 133.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.95, allocations: 0 / 1.144 GB, free: 133.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/1.95, allocations: 216.8 kB / 1.144 GB, free: 133.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/1.95, allocations: 109.6 kB / 1.145 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/1.95, allocations: 3.469 kB / 1.145 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/1.95, allocations: 22.45 kB / 1.145 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/1.95, allocations: 11.88 kB / 1.145 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/1.95, allocations: 2.688 kB / 1.145 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001986/1.951, allocations: 250.2 kB / 1.145 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/1.951, allocations: 0 / 1.145 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005331/1.951, allocations: 157.9 kB / 1.145 GB, free: 133.4 MB / 0.6198 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.0005013/1.952, allocations: 281.6 kB / 1.145 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004989/1.952, allocations: 181.2 kB / 1.145 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.952, allocations: 0 / 1.145 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/1.952, allocations: 66.23 kB / 1.146 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/1.953, allocations: 141.2 kB / 1.146 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/1.954, allocations: 0.6299 MB / 1.146 GB, free: 132.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/1.954, allocations: 0.7904 MB / 1.147 GB, free: 132.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002594/1.954, allocations: 69.25 kB / 1.147 GB, free: 132.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/1.954, allocations: 30.53 kB / 1.147 GB, free: 132.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/1.954, allocations: 3.75 kB / 1.147 GB, free: 132.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.01128/1.966, allocations: 6.484 MB / 1.153 GB, free: 132.2 MB / 0.6198 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)