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.0007861/0.0007861, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006265/0.006265, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 278.8 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9463/0.9463, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004522, allocations: 17.2 kB / 0.5987 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1918, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01541/0.2072, allocations: 14.47 MB / 0.6993 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.213, allocations: 3.869 MB / 0.703 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004014/0.2134, allocations: 19.94 kB / 0.703 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.214, allocations: 151.1 kB / 0.7032 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.2154, allocations: 0.6211 MB / 0.7038 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2165, allocations: 424.7 kB / 0.7042 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.2181, allocations: 1.376 MB / 0.7055 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.2186, allocations: 232.9 kB / 0.7058 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005872/0.2192, allocations: 370.4 kB / 0.7061 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.2195, allocations: 270.6 kB / 0.7064 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.2196, allocations: 12 kB / 0.7064 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.2206, allocations: 0.6899 MB / 0.7071 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.2207, allocations: 67.69 kB / 0.7071 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.2209, allocations: 200.7 kB / 0.7073 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009676/0.2219, allocations: 0.6971 MB / 0.708 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2219, allocations: 0 / 0.708 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2219, allocations: 4 kB / 0.708 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2219, allocations: 0 / 0.708 GB, free: 7.57 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.001051/0.223, allocations: 0.6814 MB / 0.7087 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.223, allocations: 8.031 kB / 0.7087 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.2231, allocations: 44.47 kB / 0.7087 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.224, allocations: 0.4978 MB / 0.7092 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2241, allocations: 12.33 kB / 0.7092 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.2241, allocations: 24 kB / 0.7092 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.2245, allocations: 188.8 kB / 0.7094 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2245, allocations: 0 / 0.7094 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.2245, allocations: 4 kB / 0.7094 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2246, allocations: 4 kB / 0.7094 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.2249, allocations: 152.2 kB / 0.7096 GB, free: 5.871 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.001184/0.2261, allocations: 0.8683 MB / 0.7104 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.2264, allocations: 122.6 kB / 0.7105 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2265, allocations: 80.81 kB / 0.7106 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/0.2269, allocations: 336.4 kB / 0.7109 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2269, allocations: 30.56 kB / 0.711 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.2269, allocations: 0 / 0.711 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006329/0.2275, allocations: 248.9 kB / 0.7112 GB, free: 4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.2276, allocations: 51.41 kB / 0.7113 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.2279, allocations: 345.7 kB / 0.7116 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.228, allocations: 29.7 kB / 0.7116 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.2281, allocations: 196.3 kB / 0.7118 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.2282, allocations: 39.44 kB / 0.7118 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.2282, allocations: 17.72 kB / 0.7119 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2283, allocations: 342.8 kB / 0.7122 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2285, allocations: 51.95 kB / 0.7122 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.2287, allocations: 100.2 kB / 0.7123 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.2289, allocations: 133.6 kB / 0.7125 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.229, allocations: 3.938 kB / 0.7125 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003723/0.2293, allocations: 193 kB / 0.7126 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.2295, allocations: 107.7 kB / 0.7127 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2295, allocations: 0 / 0.7127 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2295, allocations: 0 / 0.7127 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.2297, allocations: 23.98 kB / 0.7128 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2297, allocations: 4 kB / 0.7128 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.2299, allocations: 35.91 kB / 0.7128 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.2299, allocations: 4 kB / 0.7128 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.2299, allocations: 4 kB / 0.7128 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002941/0.2302, allocations: 119.9 kB / 0.7129 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2302, allocations: 4 kB / 0.7129 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-06/0.2303, allocations: 4 kB / 0.7129 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2304, allocations: 27.92 kB / 0.713 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.2304, allocations: 3.938 kB / 0.713 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.2306, allocations: 31.88 kB / 0.713 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.2306, allocations: 8 kB / 0.713 GB, free: 2.074 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 0.0001506/0.2308, allocations: 221.8 kB / 0.7132 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.2308, allocations: 31.62 kB / 0.7132 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/0.2313, allocations: 255.4 kB / 0.7135 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.2313, allocations: 7.922 kB / 0.7135 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2314, allocations: 0 / 0.7135 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2314, allocations: 0 / 0.7135 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008698/0.2322, allocations: 0.6412 MB / 0.7141 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2323, allocations: 0 / 0.7141 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.2324, allocations: 27.98 kB / 0.7141 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2324, allocations: 0 / 0.7141 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2324, allocations: 8 kB / 0.7142 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2324, allocations: 0 / 0.7142 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2324, allocations: 0 / 0.7142 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.2328, allocations: 336.9 kB / 0.7145 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.233, allocations: 136.5 kB / 0.7146 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.233, allocations: 4 kB / 0.7146 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.2332, allocations: 23.97 kB / 0.7146 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.2333, allocations: 11.98 kB / 0.7146 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2333, allocations: 8.062 kB / 0.7147 GB, free: 268 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002341/0.2336, allocations: 251.2 kB / 0.7149 GB, free: 20 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2336, allocations: 0 / 0.7149 GB, free: 20 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006238/0.2342, allocations: 191.6 kB / 0.7151 GB, free: 15.83 MB / 0.5137 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.0005612/0.2348, allocations: 249.1 kB / 0.7153 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005366/0.2353, allocations: 196 kB / 0.7155 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2353, allocations: 192 / 0.7155 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.2355, allocations: 83.89 kB / 0.7156 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009153/0.2365, allocations: 157.5 kB / 0.7157 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.2374, allocations: 0.6892 MB / 0.7164 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2378, allocations: 0.7998 MB / 0.7172 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.238, allocations: 74.98 kB / 0.7173 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.2381, allocations: 31.42 kB / 0.7173 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2381, allocations: 0 / 0.7173 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.01184/0.2499, allocations: 6.276 MB / 0.7234 GB, free: 7.34 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)