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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.065/1.065, allocations: 143.3 MB / 434.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004364, allocations: 8 kB / 0.5158 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 83.4 MB / 0.5973 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.3689/0.5927, allocations: 12.62 MB / 0.6096 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005191/0.5979, allocations: 3.335 MB / 0.6128 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.5985, allocations: 19.47 kB / 0.6129 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.599, allocations: 166.6 kB / 0.613 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.6009, allocations: 0.6744 MB / 0.6137 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.6024, allocations: 0.5336 MB / 0.6142 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.6036, allocations: 0.7268 MB / 0.6149 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.6041, allocations: 233 kB / 0.6151 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008659/0.605, allocations: 333.9 kB / 0.6155 GB, free: 34.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.6054, allocations: 183.3 kB / 0.6156 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.6055, allocations: 13.34 kB / 0.6156 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.6066, allocations: 0.5024 MB / 0.6161 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.6067, allocations: 58.91 kB / 0.6162 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.6069, allocations: 94.17 kB / 0.6163 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.6076, allocations: 459.8 kB / 0.6167 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.6076, allocations: 0 / 0.6167 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6077, allocations: 2.781 kB / 0.6167 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.6077, allocations: 7.938 kB / 0.6167 GB, free: 34.68 MB / 0.4981 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.001145/0.6088, allocations: 0.6703 MB / 0.6174 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.6089, allocations: 8.812 kB / 0.6174 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.609, allocations: 45.19 kB / 0.6174 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/0.6099, allocations: 413.9 kB / 0.6178 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.61, allocations: 16.17 kB / 0.6178 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.61, allocations: 14.59 kB / 0.6179 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.6104, allocations: 181.8 kB / 0.618 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.6104, allocations: 1.781 kB / 0.618 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.6104, allocations: 15.89 kB / 0.618 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.6105, allocations: 2.844 kB / 0.6181 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.6108, allocations: 153.3 kB / 0.6182 GB, free: 33.84 MB / 0.4981 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.001231/0.612, allocations: 0.8836 MB / 0.6191 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.6124, allocations: 132.2 kB / 0.6192 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.6126, allocations: 336 kB / 0.6195 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.6127, allocations: 37.34 kB / 0.6195 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.734e-06/0.6127, allocations: 4 kB / 0.6195 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005677/0.6133, allocations: 227.8 kB / 0.6198 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.6133, allocations: 51.41 kB / 0.6198 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.6137, allocations: 375.9 kB / 0.6202 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.6137, allocations: 32.48 kB / 0.6202 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.6138, allocations: 195.4 kB / 0.6204 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.6138, allocations: 40.53 kB / 0.6204 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6139, allocations: 3.938 kB / 0.6204 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.6139, allocations: 342.7 kB / 0.6208 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.6141, allocations: 51.59 kB / 0.6208 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.6142, allocations: 92.77 kB / 0.6209 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.6144, allocations: 55.95 kB / 0.6209 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6144, allocations: 0 / 0.6209 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003344/0.6147, allocations: 199.4 kB / 0.6211 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.051e-05/0.6148, allocations: 183.7 kB / 0.6213 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6148, allocations: 3.938 kB / 0.6213 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.6148, allocations: 0 / 0.6213 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.615, allocations: 30.16 kB / 0.6213 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.615, allocations: 3.938 kB / 0.6213 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.6152, allocations: 31.34 kB / 0.6214 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.6153, allocations: 5.906 kB / 0.6214 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.6153, allocations: 7.609 kB / 0.6214 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002655/0.6155, allocations: 128.1 kB / 0.6215 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.6156, allocations: 4 kB / 0.6215 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-06/0.6156, allocations: 0 / 0.6215 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.6157, allocations: 31.45 kB / 0.6215 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.6157, allocations: 3.656 kB / 0.6216 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.6159, allocations: 35.69 kB / 0.6216 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.616, allocations: 6.938 kB / 0.6216 GB, free: 31.42 MB / 0.4981 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 (12): * Single equations (assignments): 12 * 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.0001449/0.6161, allocations: 216.8 kB / 0.6218 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.6162, allocations: 37.3 kB / 0.6218 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.6166, allocations: 245.5 kB / 0.6221 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.6167, allocations: 192 / 0.6221 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6167, allocations: 0 / 0.6221 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6167, allocations: 7.312 kB / 0.6221 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/0.6175, allocations: 0.6553 MB / 0.6227 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6175, allocations: 2.812 kB / 0.6227 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.6176, allocations: 27.86 kB / 0.6227 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6176, allocations: 2.969 kB / 0.6227 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6176, allocations: 2.812 kB / 0.6228 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.6177, allocations: 3.844 kB / 0.6228 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6177, allocations: 7 kB / 0.6228 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.618, allocations: 365.8 kB / 0.6231 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.6182, allocations: 136.6 kB / 0.6232 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.6182, allocations: 6.875 kB / 0.6232 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.6185, allocations: 30.41 kB / 0.6233 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.6185, allocations: 13.64 kB / 0.6233 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.6186, allocations: 2.906 kB / 0.6233 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002761/0.6188, allocations: 268.5 kB / 0.6235 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6189, allocations: 0 / 0.6235 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006164/0.6195, allocations: 198 kB / 0.6237 GB, free: 30.03 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005381/0.62, allocations: 258.6 kB / 0.624 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.6205, allocations: 209.3 kB / 0.6242 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.6205, allocations: 0 / 0.6242 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.6207, allocations: 85.47 kB / 0.6243 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006929/0.6214, allocations: 148.9 kB / 0.6244 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009056/0.6223, allocations: 0.6781 MB / 0.6251 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.6226, allocations: 0.8033 MB / 0.6259 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003119/0.6229, allocations: 76.59 kB / 0.6259 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.623, allocations: 33 kB / 0.626 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.623, allocations: 0 / 0.626 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.01231/0.6353, allocations: 6.625 MB / 0.6324 GB, free: 28.05 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: