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.0009457/0.0009457, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008148/0.0008148, allocations: 172.7 kB / 15.95 MB, free: 208 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.407/1.407, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001756, allocations: 266.6 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.143/1.143, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004623, allocations: 15.69 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1818, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01337/0.1952, allocations: 13.75 MB / 0.6979 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005128/0.2004, allocations: 3.635 MB / 0.7015 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006057/0.201, allocations: 19.94 kB / 0.7015 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.2016, allocations: 135.1 kB / 0.7016 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.2033, allocations: 0.5521 MB / 0.7021 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.2045, allocations: 397 kB / 0.7025 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.2059, allocations: 1.2 MB / 0.7037 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000388/0.2063, allocations: 220.6 kB / 0.7039 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007452/0.2071, allocations: 354.4 kB / 0.7042 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.2075, allocations: 250.8 kB / 0.7045 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.2075, allocations: 12 kB / 0.7045 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.2086, allocations: 0.6314 MB / 0.7051 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.2087, allocations: 63.7 kB / 0.7052 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.621e-05/0.2088, allocations: 93.52 kB / 0.7053 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.2094, allocations: 494.9 kB / 0.7057 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2094, allocations: 0 / 0.7057 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2095, allocations: 0 / 0.7057 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2095, allocations: 0 / 0.7057 GB, free: 9.66 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.001115/0.2106, allocations: 0.6813 MB / 0.7064 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2106, allocations: 15.97 kB / 0.7064 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.2107, allocations: 43.48 kB / 0.7065 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.2115, allocations: 491.9 kB / 0.7069 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2115, allocations: 20.25 kB / 0.7069 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.2116, allocations: 16 kB / 0.707 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.2119, allocations: 180.8 kB / 0.7071 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2119, allocations: 4 kB / 0.7071 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.212, allocations: 8 kB / 0.7071 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.212, allocations: 8 kB / 0.7071 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.2123, allocations: 148.1 kB / 0.7073 GB, free: 7.973 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.001092/0.2134, allocations: 0.8568 MB / 0.7081 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.2137, allocations: 130.6 kB / 0.7083 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2138, allocations: 76.75 kB / 0.7083 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.2142, allocations: 340.4 kB / 0.7086 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.2142, allocations: 46.52 kB / 0.7087 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.2142, allocations: 0 / 0.7087 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005404/0.2148, allocations: 233.1 kB / 0.7089 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.2148, allocations: 51.41 kB / 0.709 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.2152, allocations: 345.7 kB / 0.7093 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2152, allocations: 25.7 kB / 0.7093 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.2153, allocations: 188.4 kB / 0.7095 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.2154, allocations: 47.3 kB / 0.7095 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.2154, allocations: 4 kB / 0.7095 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2155, allocations: 342.8 kB / 0.7099 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2156, allocations: 51.95 kB / 0.7099 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.2158, allocations: 88.25 kB / 0.71 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.2159, allocations: 59.97 kB / 0.7101 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.216, allocations: 0 / 0.7101 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003458/0.2163, allocations: 177.2 kB / 0.7102 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.2164, allocations: 111.8 kB / 0.7103 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2164, allocations: 4.094 kB / 0.7103 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2164, allocations: 7.875 kB / 0.7104 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.2166, allocations: 23.98 kB / 0.7104 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2166, allocations: 11.92 kB / 0.7104 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.2168, allocations: 39.81 kB / 0.7104 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2168, allocations: 4 kB / 0.7104 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.2168, allocations: 4 kB / 0.7104 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002756/0.2171, allocations: 123.9 kB / 0.7105 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.2171, allocations: 0 / 0.7105 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-06/0.2171, allocations: 0 / 0.7105 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.2172, allocations: 35.98 kB / 0.7106 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.2173, allocations: 0 / 0.7106 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.2174, allocations: 31.92 kB / 0.7106 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.2175, allocations: 8 kB / 0.7106 GB, free: 4.285 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.000156/0.2176, allocations: 217.8 kB / 0.7108 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.2177, allocations: 35.53 kB / 0.7109 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.2181, allocations: 241.2 kB / 0.7111 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2182, allocations: 4.078 kB / 0.7111 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2182, allocations: 4 kB / 0.7111 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.2182, allocations: 7.938 kB / 0.7111 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008876/0.2191, allocations: 0.6374 MB / 0.7117 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2191, allocations: 0 / 0.7117 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.2192, allocations: 31.92 kB / 0.7118 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2192, allocations: 0 / 0.7118 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.2192, allocations: 7.953 kB / 0.7118 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2192, allocations: 192 / 0.7118 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2192, allocations: 11.94 kB / 0.7118 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.2196, allocations: 327.2 kB / 0.7121 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2198, allocations: 124.7 kB / 0.7122 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.2198, allocations: 11.94 kB / 0.7122 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.22, allocations: 31.77 kB / 0.7123 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.2201, allocations: 19.98 kB / 0.7123 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2201, allocations: 4 kB / 0.7123 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002608/0.2204, allocations: 243.2 kB / 0.7125 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2204, allocations: 0 / 0.7125 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005568/0.2209, allocations: 179.8 kB / 0.7127 GB, free: 2.055 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.000547/0.2215, allocations: 246.7 kB / 0.7129 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.222, allocations: 199.8 kB / 0.7131 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.222, allocations: 0 / 0.7131 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2222, allocations: 79.89 kB / 0.7132 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007368/0.2229, allocations: 159.8 kB / 0.7133 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.2239, allocations: 0.6831 MB / 0.714 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.2243, allocations: 0.7921 MB / 0.7148 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002352/0.2245, allocations: 71.05 kB / 0.7148 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.2246, allocations: 35.42 kB / 0.7149 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.2246, allocations: 4 kB / 0.7149 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.01135/0.2359, allocations: 6.121 MB / 0.7209 GB, free: 9.738 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)