Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001179/0.001179, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 283 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002915/0.002915, allocations: 98.27 kB / 0.5952 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2053, allocations: 86.98 MB / 0.6802 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01839/0.2237, allocations: 15.04 MB / 0.6949 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005454/0.2292, allocations: 3.898 MB / 0.6987 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.2296, allocations: 19.94 kB / 0.6987 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.2302, allocations: 182.7 kB / 0.6989 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.2316, allocations: 0.6827 MB / 0.6995 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2326, allocations: 465.2 kB / 0.7 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001305/0.234, allocations: 1.083 MB / 0.701 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.2344, allocations: 286.3 kB / 0.7013 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005784/0.2349, allocations: 398.5 kB / 0.7017 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.2353, allocations: 266.8 kB / 0.7019 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.646e-05/0.2353, allocations: 20 kB / 0.7019 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.2364, allocations: 0.7212 MB / 0.7027 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.2365, allocations: 71.69 kB / 0.7027 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.2367, allocations: 187 kB / 0.7029 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.2377, allocations: 0.7244 MB / 0.7036 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2377, allocations: 0 / 0.7036 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2377, allocations: 4 kB / 0.7036 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.2378, allocations: 0 / 0.7036 GB, free: 8.629 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.001299/0.2391, allocations: 0.7435 MB / 0.7043 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2391, allocations: 12.03 kB / 0.7043 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.36e-05/0.2392, allocations: 40.47 kB / 0.7044 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.2401, allocations: 0.494 MB / 0.7049 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2401, allocations: 12.33 kB / 0.7049 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.2401, allocations: 20 kB / 0.7049 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.2405, allocations: 184.8 kB / 0.7051 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2405, allocations: 0 / 0.7051 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.2406, allocations: 4 kB / 0.7051 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2406, allocations: 4 kB / 0.7051 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.2409, allocations: 135.8 kB / 0.7052 GB, free: 6.898 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.001071/0.242, allocations: 0.8683 MB / 0.7061 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.2422, allocations: 118.6 kB / 0.7062 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.2424, allocations: 80.75 kB / 0.7063 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.2427, allocations: 336.4 kB / 0.7066 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.2428, allocations: 34.55 kB / 0.7066 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.2428, allocations: 0 / 0.7066 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005403/0.2433, allocations: 221.1 kB / 0.7068 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2434, allocations: 51.41 kB / 0.7069 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.2437, allocations: 345.7 kB / 0.7072 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2437, allocations: 29.7 kB / 0.7072 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.2439, allocations: 200.2 kB / 0.7074 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2439, allocations: 35.41 kB / 0.7074 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.244, allocations: 37.7 kB / 0.7075 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2441, allocations: 346.8 kB / 0.7078 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2443, allocations: 44.83 kB / 0.7079 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.2445, allocations: 92.62 kB / 0.7079 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.2447, allocations: 121.6 kB / 0.7081 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2448, allocations: 0 / 0.7081 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003573/0.2451, allocations: 177.1 kB / 0.7082 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2451, allocations: 11.94 kB / 0.7082 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2452, allocations: 0 / 0.7082 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2452, allocations: 0 / 0.7082 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.2453, allocations: 31.91 kB / 0.7083 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2453, allocations: 4 kB / 0.7083 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.2455, allocations: 19.98 kB / 0.7083 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.2455, allocations: 12 kB / 0.7083 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002077/0.2458, allocations: 152.8 kB / 0.7085 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001473/0.2459, allocations: 88.39 kB / 0.7085 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002413/0.2462, allocations: 117.6 kB / 0.7086 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.2462, allocations: 0 / 0.7086 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003329/0.2465, allocations: 177.1 kB / 0.7088 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.2465, allocations: 6.031 kB / 0.7088 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.2465, allocations: 3.938 kB / 0.7088 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.2465, allocations: 3.938 kB / 0.7088 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2467, allocations: 27.98 kB / 0.7089 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-06/0.2467, allocations: 0 / 0.7089 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2468, allocations: 24.16 kB / 0.7089 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2469, allocations: 7.938 kB / 0.7089 GB, free: 2.828 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.919e-05/0.247, allocations: 188.2 kB / 0.7091 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.247, allocations: 35.56 kB / 0.7091 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.2475, allocations: 232.6 kB / 0.7093 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2475, allocations: 4 kB / 0.7093 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2475, allocations: 0 / 0.7093 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2475, allocations: 0 / 0.7093 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008085/0.2483, allocations: 0.6334 MB / 0.7099 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2484, allocations: 0 / 0.7099 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2485, allocations: 27.92 kB / 0.71 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2485, allocations: 4 kB / 0.71 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2485, allocations: 4 kB / 0.71 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2485, allocations: 4 kB / 0.71 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2485, allocations: 3.984 kB / 0.71 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.2489, allocations: 313.6 kB / 0.7103 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.249, allocations: 124.6 kB / 0.7104 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.2491, allocations: 11.92 kB / 0.7104 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2493, allocations: 11.98 kB / 0.7104 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.2494, allocations: 19.98 kB / 0.7104 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.2494, allocations: 4 kB / 0.7105 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002312/0.2496, allocations: 251.1 kB / 0.7107 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2496, allocations: 0 / 0.7107 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005355/0.2502, allocations: 195.5 kB / 0.7109 GB, free: 0.6641 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 (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.0004822/0.2507, allocations: 251 kB / 0.7111 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004954/0.2512, allocations: 199 kB / 0.7113 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2512, allocations: 0 / 0.7113 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.2513, allocations: 83.89 kB / 0.7114 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/0.2521, allocations: 143.8 kB / 0.7115 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007702/0.2529, allocations: 0.5595 MB / 0.7121 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.2533, allocations: 0.7918 MB / 0.7128 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.2535, allocations: 82.97 kB / 0.7129 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.2536, allocations: 27.44 kB / 0.7129 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.2536, allocations: 3.938 kB / 0.713 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of Templates: time 0.01126/0.2648, allocations: 6.583 MB / 0.7194 GB, free: 8.016 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)