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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.00127/0.00127, allocations: 103.3 kB / 16.46 MB, free: 6.422 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.001364/0.001364, allocations: 185.6 kB / 17.4 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 243.8 MB, free: 14.04 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9687/0.9687, allocations: 145.2 MB / 441.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 68.98 kB / 0.6126 GB, free: 1.809 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1828, allocations: 86.63 MB / 0.6972 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01846/0.2012, allocations: 15.16 MB / 0.712 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006457/0.2077, allocations: 3.923 MB / 0.7158 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.2083, allocations: 19.88 kB / 0.7158 GB, free: 7.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.2089, allocations: 182.7 kB / 0.716 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.2108, allocations: 0.7076 MB / 0.7167 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.2121, allocations: 481.9 kB / 0.7172 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001787/0.2139, allocations: 1.091 MB / 0.7182 GB, free: 5.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004215/0.2144, allocations: 241.6 kB / 0.7185 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.2151, allocations: 422.4 kB / 0.7189 GB, free: 4.844 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.2155, allocations: 270.8 kB / 0.7191 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.2155, allocations: 24 kB / 0.7192 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.2169, allocations: 0.729 MB / 0.7199 GB, free: 3.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.217, allocations: 71.69 kB / 0.7199 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.2173, allocations: 187 kB / 0.7201 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.2185, allocations: 0.7357 MB / 0.7208 GB, free: 2.832 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2185, allocations: 0 / 0.7208 GB, free: 2.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2185, allocations: 0 / 0.7208 GB, free: 2.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2185, allocations: 3.938 kB / 0.7208 GB, free: 2.828 MB / 0.545 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.001276/0.2198, allocations: 0.7738 MB / 0.7216 GB, free: 2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2199, allocations: 8.031 kB / 0.7216 GB, free: 1.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.2199, allocations: 48.66 kB / 0.7216 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.221, allocations: 0.51 MB / 0.7221 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.221, allocations: 20.31 kB / 0.7222 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.221, allocations: 16 kB / 0.7222 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.2214, allocations: 180.1 kB / 0.7223 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2214, allocations: 4 kB / 0.7224 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2215, allocations: 4 kB / 0.7224 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2215, allocations: 4 kB / 0.7224 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.2218, allocations: 144.1 kB / 0.7225 GB, free: 1.031 MB / 0.545 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.001216/0.223, allocations: 0.8646 MB / 0.7233 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.2233, allocations: 118.6 kB / 0.7235 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.2235, allocations: 64.81 kB / 0.7235 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.2238, allocations: 332.4 kB / 0.7238 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.2239, allocations: 38.56 kB / 0.7239 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.2239, allocations: 0 / 0.7239 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006071/0.2245, allocations: 229.2 kB / 0.7241 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.2245, allocations: 51.41 kB / 0.7241 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.2249, allocations: 345.7 kB / 0.7245 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.2249, allocations: 29.7 kB / 0.7245 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2251, allocations: 192.4 kB / 0.7247 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.2251, allocations: 47.58 kB / 0.7247 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.2252, allocations: 37.7 kB / 0.7248 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2254, allocations: 346.8 kB / 0.7251 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2255, allocations: 52.83 kB / 0.7251 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.2257, allocations: 84.25 kB / 0.7252 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.226, allocations: 129.5 kB / 0.7253 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.226, allocations: 0 / 0.7253 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003781/0.2263, allocations: 169.4 kB / 0.7255 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2264, allocations: 7.938 kB / 0.7255 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2264, allocations: 0 / 0.7255 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2264, allocations: 4 kB / 0.7255 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.2265, allocations: 31.92 kB / 0.7255 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2265, allocations: 3.984 kB / 0.7256 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.2267, allocations: 19.94 kB / 0.7256 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.2267, allocations: 4 kB / 0.7256 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000228/0.227, allocations: 156.1 kB / 0.7257 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001753/0.2272, allocations: 92.91 kB / 0.7258 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002559/0.2274, allocations: 125.6 kB / 0.7259 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.91e-07/0.2274, allocations: 0 / 0.7259 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003598/0.2278, allocations: 173.4 kB / 0.7261 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2278, allocations: 9.719 kB / 0.7261 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.2278, allocations: 0 / 0.7261 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.2278, allocations: 3.938 kB / 0.7261 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2279, allocations: 23.98 kB / 0.7261 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/0.2279, allocations: 0 / 0.7261 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.2281, allocations: 27.91 kB / 0.7262 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2281, allocations: 7.984 kB / 0.7262 GB, free: 12.96 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.2282, allocations: 188.2 kB / 0.7263 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.2283, allocations: 39.7 kB / 0.7264 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.2288, allocations: 224.9 kB / 0.7266 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2288, allocations: 4 kB / 0.7266 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2288, allocations: 0 / 0.7266 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2288, allocations: 0 / 0.7266 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.2298, allocations: 0.6373 MB / 0.7272 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2298, allocations: 0 / 0.7272 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.2299, allocations: 32.08 kB / 0.7273 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2299, allocations: 0 / 0.7273 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.2299, allocations: 4 kB / 0.7273 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2299, allocations: 3.938 kB / 0.7273 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.2299, allocations: 4 kB / 0.7273 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.2304, allocations: 316.8 kB / 0.7276 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.2306, allocations: 140.7 kB / 0.7277 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.2306, allocations: 0 / 0.7277 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2308, allocations: 15.98 kB / 0.7277 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.2308, allocations: 11.92 kB / 0.7277 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.2309, allocations: 8 kB / 0.7277 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002763/0.2311, allocations: 255.2 kB / 0.728 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2311, allocations: 0 / 0.728 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000615/0.2317, allocations: 195.3 kB / 0.7282 GB, free: 10.79 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005656/0.2323, allocations: 249.2 kB / 0.7284 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.2328, allocations: 191.7 kB / 0.7286 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2329, allocations: 0 / 0.7286 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.233, allocations: 71.89 kB / 0.7287 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008239/0.2339, allocations: 152.4 kB / 0.7288 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.2349, allocations: 0.5915 MB / 0.7294 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.2353, allocations: 0.7918 MB / 0.7302 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.2354, allocations: 31.44 kB / 0.7302 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2354, allocations: 3.938 kB / 0.7302 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of Templates: time 0.009715/0.2451, allocations: 5.887 MB / 0.7359 GB, free: 2.832 MB / 0.5606 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)