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.8286/0.8286, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 183.5 kB / 187.3 MB, free: 11.88 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.485/1.485, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.0009592/0.0009591, allocations: 96.78 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 275.2 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.062e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4946, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8843/1.379, allocations: 372.5 MB / 1.128 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000504/1.38, allocations: 89.45 kB / 1.128 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8497/2.229, allocations: 171.6 MB / 1.296 GB, free: 170.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/2.229, allocations: 0 / 1.296 GB, free: 170.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.206e-05/2.229, allocations: 8 kB / 1.296 GB, free: 170.3 MB / 0.698 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.0009124/2.23, allocations: 0.6616 MB / 1.296 GB, free: 169.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/2.23, allocations: 12.03 kB / 1.296 GB, free: 169.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/2.231, allocations: 43.44 kB / 1.296 GB, free: 169.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02791/2.258, allocations: 14.66 MB / 1.311 GB, free: 154.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/2.258, allocations: 16.33 kB / 1.311 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/2.259, allocations: 20 kB / 1.311 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/2.259, allocations: 152.3 kB / 1.311 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/2.259, allocations: 4 kB / 1.311 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/2.259, allocations: 11.94 kB / 1.311 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/2.259, allocations: 4 kB / 1.311 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/2.259, allocations: 104.2 kB / 1.311 GB, free: 154.4 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00094/2.26, allocations: 0.8334 MB / 1.312 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/2.26, allocations: 94.67 kB / 1.312 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.389e-05/2.26, allocations: 48.84 kB / 1.312 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/2.261, allocations: 340.4 kB / 1.312 GB, free: 152.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/2.261, allocations: 42.48 kB / 1.312 GB, free: 152.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/2.261, allocations: 0 / 1.312 GB, free: 152.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0002592/2.261, allocations: 137.1 kB / 1.312 GB, free: 152.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/2.261, allocations: 55.58 kB / 1.313 GB, free: 152.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/2.261, allocations: 290.9 kB / 1.313 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/2.261, allocations: 29.7 kB / 1.313 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/2.261, allocations: 192.3 kB / 1.313 GB, free: 152.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/2.261, allocations: 39.36 kB / 1.313 GB, free: 152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/2.261, allocations: 8 kB / 1.313 GB, free: 152 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/2.261, allocations: 338.8 kB / 1.313 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/2.261, allocations: 24 kB / 1.313 GB, free: 151.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/2.261, allocations: 86.91 kB / 1.313 GB, free: 151.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.953e-05/2.261, allocations: 43.97 kB / 1.314 GB, free: 151.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/2.262, allocations: 0 / 1.314 GB, free: 151.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001659/2.262, allocations: 133.2 kB / 1.314 GB, free: 151.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/2.262, allocations: 186 kB / 1.314 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/2.262, allocations: 3.984 kB / 1.314 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/2.262, allocations: 4 kB / 1.314 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/2.262, allocations: 31.92 kB / 1.314 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/2.262, allocations: 0 / 1.314 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/2.262, allocations: 35.81 kB / 1.314 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/2.262, allocations: 4 kB / 1.314 GB, free: 151.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-06/2.262, allocations: 8 kB / 1.314 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001231/2.262, allocations: 80.03 kB / 1.314 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-06/2.262, allocations: 0 / 1.314 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/2.262, allocations: 0 / 1.314 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/2.262, allocations: 35.91 kB / 1.314 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/2.262, allocations: 0 / 1.314 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/2.263, allocations: 31.92 kB / 1.314 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/2.263, allocations: 4 kB / 1.314 GB, free: 151 MB / 0.698 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 () * 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 6.447e-05/2.263, allocations: 116.9 kB / 1.314 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/2.263, allocations: 35.53 kB / 1.314 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/2.263, allocations: 195.2 kB / 1.314 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/2.263, allocations: 0 / 1.314 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/2.263, allocations: 11.94 kB / 1.314 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/2.263, allocations: 96 / 1.314 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/2.264, allocations: 0.579 MB / 1.315 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.264, allocations: 0 / 1.315 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/2.264, allocations: 31.92 kB / 1.315 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/2.264, allocations: 0 / 1.315 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/2.264, allocations: 16.08 kB / 1.315 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/2.264, allocations: 0 / 1.315 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.264, allocations: 7.953 kB / 1.315 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/2.264, allocations: 316.8 kB / 1.315 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/2.264, allocations: 128.5 kB / 1.315 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/2.264, allocations: 4 kB / 1.315 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/2.264, allocations: 23.97 kB / 1.315 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/2.264, allocations: 15.98 kB / 1.315 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/2.264, allocations: 4 kB / 1.315 GB, free: 149.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001604/2.265, allocations: 233.2 kB / 1.316 GB, free: 149.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.265, allocations: 0 / 1.316 GB, free: 149.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005404/2.265, allocations: 163.8 kB / 1.316 GB, free: 149 MB / 0.698 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 () * 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.0004891/2.266, allocations: 288.3 kB / 1.316 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002609/2.266, allocations: 150.1 kB / 1.316 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/2.266, allocations: 0 / 1.316 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/2.266, allocations: 67.91 kB / 1.316 GB, free: 148.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/2.267, allocations: 142.1 kB / 1.316 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/2.267, allocations: 375 kB / 1.317 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/2.268, allocations: 0.8039 MB / 1.318 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003164/2.268, allocations: 91.31 kB / 1.318 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/2.268, allocations: 23.44 kB / 1.318 GB, free: 147 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/2.268, allocations: 3.938 kB / 1.318 GB, free: 147 MB / 0.698 GB Notification: Performance of Templates: time 0.01097/2.279, allocations: 7.336 MB / 1.325 GB, free: 139.7 MB / 0.698 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)