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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8058/0.8058, allocations: 143.4 MB / 159.2 MB, free: 4.883 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 187.6 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009853/0.0009852, allocations: 107.8 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001793/0.001793, allocations: 278.2 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 75.88 kB / 0.6885 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.32, allocations: 81.28 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01074/0.3307, allocations: 15.01 MB / 0.7826 GB, free: 12.59 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004113/0.3349, allocations: 3.924 MB / 0.7864 GB, free: 8.66 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.3352, allocations: 15.94 kB / 0.7864 GB, free: 8.645 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.3357, allocations: 159 kB / 0.7866 GB, free: 8.488 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.3369, allocations: 0.6106 MB / 0.7872 GB, free: 7.875 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008935/0.3378, allocations: 419.4 kB / 0.7876 GB, free: 7.469 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.339, allocations: 1.372 MB / 0.7889 GB, free: 6.094 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.3393, allocations: 250.2 kB / 0.7891 GB, free: 5.848 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/0.3397, allocations: 378.4 kB / 0.7895 GB, free: 5.477 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.34, allocations: 270.7 kB / 0.7898 GB, free: 5.211 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.34, allocations: 16 kB / 0.7898 GB, free: 5.195 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.3409, allocations: 0.6978 MB / 0.7905 GB, free: 4.496 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.341, allocations: 63.64 kB / 0.7905 GB, free: 4.434 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.3411, allocations: 179 kB / 0.7907 GB, free: 4.258 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006973/0.3419, allocations: 0.7089 MB / 0.7914 GB, free: 3.547 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3419, allocations: 0 / 0.7914 GB, free: 3.547 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3419, allocations: 0 / 0.7914 GB, free: 3.547 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3419, allocations: 0 / 0.7914 GB, free: 3.547 MB / 458.7 MB 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.0008644/0.3428, allocations: 0.7513 MB / 0.7921 GB, free: 2.746 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3428, allocations: 8.031 kB / 0.7921 GB, free: 2.738 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.3429, allocations: 44.47 kB / 0.7922 GB, free: 2.695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.3436, allocations: 0.49 MB / 0.7926 GB, free: 2.168 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3436, allocations: 16.33 kB / 0.7927 GB, free: 2.152 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3436, allocations: 20 kB / 0.7927 GB, free: 2.133 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.3439, allocations: 176.2 kB / 0.7928 GB, free: 1.957 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.344, allocations: 0 / 0.7928 GB, free: 1.957 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.344, allocations: 8 kB / 0.7929 GB, free: 1.949 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.344, allocations: 4 kB / 0.7929 GB, free: 1.945 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.3443, allocations: 139.8 kB / 0.793 GB, free: 1.809 MB / 458.7 MB 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.0008969/0.3452, allocations: 0.8606 MB / 0.7938 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.3454, allocations: 114.6 kB / 0.7939 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.3456, allocations: 76.75 kB / 0.794 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.3458, allocations: 340.3 kB / 0.7943 GB, free: 248 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.3458, allocations: 42.5 kB / 0.7944 GB, free: 196 kB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.3459, allocations: 0 / 0.7944 GB, free: 196 kB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005126/0.3464, allocations: 213.2 kB / 0.7946 GB, free: 15.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.3464, allocations: 51.41 kB / 0.7946 GB, free: 15.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.3467, allocations: 341.7 kB / 0.795 GB, free: 15.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3468, allocations: 33.7 kB / 0.795 GB, free: 15.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3469, allocations: 196.2 kB / 0.7952 GB, free: 15.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.347, allocations: 51.38 kB / 0.7952 GB, free: 15.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.347, allocations: 33.62 kB / 0.7953 GB, free: 15.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3472, allocations: 346.8 kB / 0.7956 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3473, allocations: 52.7 kB / 0.7956 GB, free: 14.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.3475, allocations: 96.67 kB / 0.7957 GB, free: 14.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.3478, allocations: 109.7 kB / 0.7958 GB, free: 14.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3478, allocations: 0 / 0.7958 GB, free: 14.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003589/0.3481, allocations: 177.1 kB / 0.796 GB, free: 14.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3482, allocations: 7.938 kB / 0.796 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3482, allocations: 0 / 0.796 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3482, allocations: 11.98 kB / 0.796 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.3483, allocations: 23.98 kB / 0.796 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3484, allocations: 0 / 0.796 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3486, allocations: 23.97 kB / 0.7961 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.3486, allocations: 4 kB / 0.7961 GB, free: 14.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002127/0.3488, allocations: 156.1 kB / 0.7962 GB, free: 14.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001661/0.349, allocations: 88.41 kB / 0.7963 GB, free: 14.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002421/0.3493, allocations: 121.6 kB / 0.7964 GB, free: 13.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.3493, allocations: 0 / 0.7964 GB, free: 13.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003322/0.3496, allocations: 177.1 kB / 0.7966 GB, free: 13.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.3496, allocations: 8 kB / 0.7966 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-06/0.3496, allocations: 0 / 0.7966 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/0.3496, allocations: 4.031 kB / 0.7966 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3498, allocations: 27.92 kB / 0.7966 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-06/0.3498, allocations: 0 / 0.7966 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.35, allocations: 40.02 kB / 0.7967 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.35, allocations: 11.94 kB / 0.7967 GB, free: 13.72 MB / 474.7 MB 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.0001008/0.3501, allocations: 184.3 kB / 0.7969 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.3502, allocations: 39.47 kB / 0.7969 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.3506, allocations: 216.6 kB / 0.7971 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3506, allocations: 0 / 0.7971 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3507, allocations: 8 kB / 0.7971 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3507, allocations: 3.984 kB / 0.7971 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.3515, allocations: 0.6305 MB / 0.7977 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3515, allocations: 96 / 0.7977 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3516, allocations: 31.86 kB / 0.7978 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3516, allocations: 4.094 kB / 0.7978 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3517, allocations: 8 kB / 0.7978 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3517, allocations: 0 / 0.7978 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3517, allocations: 4 kB / 0.7978 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008261/0.3525, allocations: 0.9879 MB / 0.7987 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.3527, allocations: 124.6 kB / 0.7989 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.3527, allocations: 8 kB / 0.7989 GB, free: 11.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.353, allocations: 23.97 kB / 0.7989 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.353, allocations: 19.86 kB / 0.7989 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.353, allocations: 8 kB / 0.7989 GB, free: 11.26 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002172/0.3532, allocations: 243.2 kB / 0.7991 GB, free: 11.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3533, allocations: 0 / 0.7991 GB, free: 11.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007326/0.354, allocations: 191.6 kB / 0.7993 GB, free: 10.84 MB / 474.7 MB 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.0005471/0.3545, allocations: 258.2 kB / 0.7996 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000492/0.355, allocations: 183.8 kB / 0.7997 GB, free: 10.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3551, allocations: 4 kB / 0.7998 GB, free: 10.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.3553, allocations: 84.08 kB / 0.7998 GB, free: 10.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/0.3561, allocations: 133.8 kB / 0.8 GB, free: 10.19 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.3572, allocations: 0.8321 MB / 0.8008 GB, free: 9.305 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.3576, allocations: 0.7999 MB / 0.8016 GB, free: 8.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.3578, allocations: 83.23 kB / 0.8016 GB, free: 8.402 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.3579, allocations: 31.44 kB / 0.8017 GB, free: 8.371 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3579, allocations: 0 / 0.8017 GB, free: 8.371 MB / 474.7 MB Notification: Performance of Templates: time 0.01171/0.3696, allocations: 6.424 MB / 0.8079 GB, free: 2.047 MB / 474.7 MB 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)