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.8311/0.8311, allocations: 127.4 MB / 134.9 MB, free: 3.453 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.001206/0.001206, allocations: 187.2 kB / 164.7 MB, free: 11.58 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.772/1.772, allocations: 205.2 MB / 399.5 MB, free: 13.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.0009852/0.000985, allocations: 101.3 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.091e-05, allocations: 2.688 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1524, allocations: 76.76 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7484/0.9009, allocations: 360.9 MB / 0.9739 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.9013, allocations: 85.64 kB / 0.974 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7041/1.605, allocations: 163.7 MB / 1.134 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.573e-06/1.605, allocations: 0 / 1.134 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.83e-05/1.605, allocations: 12 kB / 1.134 GB, free: 129.2 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.00109/1.607, allocations: 0.6576 MB / 1.135 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.607, allocations: 8.031 kB / 1.135 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/1.607, allocations: 47.53 kB / 1.135 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02465/1.631, allocations: 13.2 MB / 1.148 GB, free: 115 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/1.631, allocations: 4 kB / 1.148 GB, free: 115 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/1.632, allocations: 12 kB / 1.148 GB, free: 115 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002205/1.632, allocations: 92.58 kB / 1.148 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/1.632, allocations: 127.9 kB / 1.148 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.632, allocations: 4 kB / 1.148 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.632, allocations: 0 / 1.148 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.632, allocations: 8 kB / 1.148 GB, free: 114.8 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.001168/1.633, allocations: 0.938 MB / 1.149 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/1.633, allocations: 78.44 kB / 1.149 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/1.633, allocations: 28.86 kB / 1.149 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/1.633, allocations: 178.5 kB / 1.149 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/1.634, allocations: 30.56 kB / 1.149 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/1.634, allocations: 0 / 1.149 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0006788/1.634, allocations: 149.2 kB / 1.149 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/1.634, allocations: 51.41 kB / 1.149 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/1.634, allocations: 258.4 kB / 1.149 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/1.635, allocations: 29.7 kB / 1.149 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.635, allocations: 204 kB / 1.15 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/1.635, allocations: 27.64 kB / 1.15 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/1.635, allocations: 0 / 1.15 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.629e-05/1.635, allocations: 334.8 kB / 1.15 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/1.635, allocations: 31.98 kB / 1.15 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/1.635, allocations: 86.8 kB / 1.15 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/1.635, allocations: 43.91 kB / 1.15 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.635, allocations: 0 / 1.15 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002651/1.635, allocations: 141.2 kB / 1.15 GB, free: 112 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/1.635, allocations: 194 kB / 1.15 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.635, allocations: 0 / 1.15 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.635, allocations: 0 / 1.15 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.636, allocations: 39.91 kB / 1.15 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.636, allocations: 0 / 1.15 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/1.636, allocations: 31.88 kB / 1.151 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/1.636, allocations: 8 kB / 1.151 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/1.636, allocations: 0 / 1.151 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000178/1.636, allocations: 71.89 kB / 1.151 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-06/1.636, allocations: 0 / 1.151 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-06/1.636, allocations: 4 kB / 1.151 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/1.636, allocations: 28.02 kB / 1.151 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/1.636, allocations: 0 / 1.151 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/1.637, allocations: 23.86 kB / 1.151 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/1.637, allocations: 15.94 kB / 1.151 GB, free: 111.5 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 () * 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 6.469e-05/1.637, allocations: 104.9 kB / 1.151 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/1.637, allocations: 35.62 kB / 1.151 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/1.637, allocations: 152.7 kB / 1.151 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.637, allocations: 0 / 1.151 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.637, allocations: 0 / 1.151 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.637, allocations: 0 / 1.151 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/1.637, allocations: 258 kB / 1.151 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.637, allocations: 0 / 1.151 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/1.637, allocations: 27.97 kB / 1.151 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.637, allocations: 4 kB / 1.151 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/1.637, allocations: 0 / 1.151 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.637, allocations: 4 kB / 1.151 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.637, allocations: 0 / 1.151 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/1.638, allocations: 227 kB / 1.151 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/1.638, allocations: 104.7 kB / 1.152 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/1.638, allocations: 4 kB / 1.152 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/1.638, allocations: 23.98 kB / 1.152 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/1.638, allocations: 7.984 kB / 1.152 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.638, allocations: 4 kB / 1.152 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001494/1.638, allocations: 200.6 kB / 1.152 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.02e-07/1.638, allocations: 0 / 1.152 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006186/1.639, allocations: 159.6 kB / 1.152 GB, free: 110.2 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 () * 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.0005878/1.64, allocations: 281.4 kB / 1.152 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000233/1.64, allocations: 122 kB / 1.152 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.64, allocations: 4 kB / 1.152 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/1.64, allocations: 39.92 kB / 1.152 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/1.64, allocations: 136 kB / 1.152 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/1.641, allocations: 327.8 kB / 1.153 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/1.641, allocations: 0.7957 MB / 1.154 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003658/1.642, allocations: 87.12 kB / 1.154 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/1.642, allocations: 27.42 kB / 1.154 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/1.642, allocations: 0 / 1.154 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.0106/1.652, allocations: 6.066 MB / 1.16 GB, free: 102.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)