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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7347/0.7347, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009585/0.0009585, allocations: 183.5 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 426.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008849/0.000885, allocations: 86.36 kB / 0.4945 GB, free: 8.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001726/0.001726, allocations: 259.6 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 16 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4206, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.691/1.112, allocations: 371 MB / 1.102 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.112, allocations: 86.52 kB / 1.102 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6931/1.805, allocations: 167.1 MB / 1.265 GB, free: 148 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.285e-06/1.805, allocations: 0 / 1.265 GB, free: 148 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.995e-05/1.805, allocations: 12 kB / 1.265 GB, free: 148 MB / 0.6667 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.001202/1.806, allocations: 0.7592 MB / 1.266 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.806, allocations: 8.031 kB / 1.266 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/1.806, allocations: 48.38 kB / 1.266 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/1.826, allocations: 11.59 MB / 1.277 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/1.826, allocations: 16.7 kB / 1.277 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/1.826, allocations: 16.38 kB / 1.277 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/1.826, allocations: 176.8 kB / 1.277 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.826, allocations: 3.938 kB / 1.277 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.826, allocations: 4 kB / 1.277 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.826, allocations: 11.92 kB / 1.277 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/1.827, allocations: 144.1 kB / 1.278 GB, free: 135 MB / 0.6667 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.0009264/1.828, allocations: 0.845 MB / 1.278 GB, free: 134 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/1.828, allocations: 114.6 kB / 1.278 GB, free: 133.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/1.828, allocations: 64.81 kB / 1.279 GB, free: 133.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/1.828, allocations: 344.4 kB / 1.279 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/1.828, allocations: 30.56 kB / 1.279 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=12): time 3.226e-06/1.828, allocations: 0 / 1.279 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12): time 0.0004644/1.829, allocations: 217.2 kB / 1.279 GB, free: 133.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/1.829, allocations: 51.41 kB / 1.279 GB, free: 133.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/1.829, allocations: 329.7 kB / 1.279 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/1.829, allocations: 33.7 kB / 1.28 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/1.829, allocations: 192.2 kB / 1.28 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/1.829, allocations: 43.45 kB / 1.28 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/1.829, allocations: 3.938 kB / 1.28 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.959e-05/1.829, allocations: 346.8 kB / 1.28 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/1.829, allocations: 43.97 kB / 1.28 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/1.829, allocations: 102.8 kB / 1.28 GB, free: 132 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/1.83, allocations: 113.6 kB / 1.28 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.83, allocations: 0 / 1.28 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002807/1.83, allocations: 181.1 kB / 1.28 GB, free: 131.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/1.83, allocations: 97.86 kB / 1.281 GB, free: 131.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.83, allocations: 0 / 1.281 GB, free: 131.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.83, allocations: 4.188 kB / 1.281 GB, free: 131.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/1.83, allocations: 35.91 kB / 1.281 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.83, allocations: 3.938 kB / 1.281 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/1.83, allocations: 23.92 kB / 1.281 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/1.83, allocations: 15.98 kB / 1.281 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-06/1.83, allocations: 13.5 kB / 1.281 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000225/1.831, allocations: 111.8 kB / 1.281 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-06/1.831, allocations: 0 / 1.281 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-06/1.831, allocations: 0 / 1.281 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/1.831, allocations: 31.97 kB / 1.281 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/1.831, allocations: 8 kB / 1.281 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/1.831, allocations: 27.89 kB / 1.281 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/1.831, allocations: 7.984 kB / 1.281 GB, free: 131.3 MB / 0.6667 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.0001351/1.831, allocations: 221 kB / 1.281 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/1.831, allocations: 43.55 kB / 1.281 GB, free: 131 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/1.832, allocations: 228.7 kB / 1.281 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.832, allocations: 0 / 1.281 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.832, allocations: 0 / 1.281 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.832, allocations: 11.98 kB / 1.281 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006587/1.832, allocations: 0.6099 MB / 1.282 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.832, allocations: 8.094 kB / 1.282 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.456e-05/1.832, allocations: 23.98 kB / 1.282 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.832, allocations: 4 kB / 1.282 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/1.832, allocations: 0 / 1.282 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.832, allocations: 7.938 kB / 1.282 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.832, allocations: 3.938 kB / 1.282 GB, free: 130 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/1.833, allocations: 315.6 kB / 1.282 GB, free: 129.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/1.833, allocations: 124.5 kB / 1.282 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/1.833, allocations: 8 kB / 1.282 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/1.833, allocations: 23.92 kB / 1.282 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/1.833, allocations: 11.92 kB / 1.282 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.833, allocations: 15.98 kB / 1.282 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001596/1.833, allocations: 231.2 kB / 1.283 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.21e-07/1.833, allocations: 0 / 1.283 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005804/1.834, allocations: 163.8 kB / 1.283 GB, free: 129.1 MB / 0.6667 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.0004862/1.834, allocations: 289.4 kB / 1.283 GB, free: 128.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004002/1.835, allocations: 191.8 kB / 1.283 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.835, allocations: 0 / 1.283 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/1.835, allocations: 79.89 kB / 1.283 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/1.836, allocations: 146 kB / 1.284 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/1.836, allocations: 0.6721 MB / 1.284 GB, free: 127.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/1.837, allocations: 0.7921 MB / 1.285 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000224/1.837, allocations: 75.14 kB / 1.285 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/1.837, allocations: 31.44 kB / 1.285 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of SimCode: time 2.3e-07/1.837, allocations: 0 / 1.285 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.009954/1.847, allocations: 6.406 MB / 1.291 GB, free: 120.5 MB / 0.6667 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)