Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001363, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4817/0.4817, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.3 MB / 348.3 MB, free: 428 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009498, allocations: 103.7 kB / 421.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.019e-05, allocations: 4 kB / 0.4896 GB, free: 5.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.421, allocations: 72.31 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7761/1.197, allocations: 365.4 MB / 0.917 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.197, allocations: 86.27 kB / 0.9171 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.6771/1.875, allocations: 171.6 MB / 1.085 GB, free: 98.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.664e-06/1.875, allocations: 0 / 1.085 GB, free: 98.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.637e-05/1.875, allocations: 8 kB / 1.085 GB, free: 98.64 MB / 0.6042 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.001132/1.876, allocations: 0.6653 MB / 1.085 GB, free: 97.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.876, allocations: 15.98 kB / 1.085 GB, free: 97.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/1.876, allocations: 39.53 kB / 1.085 GB, free: 97.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02906/1.905, allocations: 14.63 MB / 1.1 GB, free: 83.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/1.905, allocations: 24.27 kB / 1.1 GB, free: 83.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/1.905, allocations: 16 kB / 1.1 GB, free: 83.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/1.906, allocations: 156.2 kB / 1.1 GB, free: 82.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/1.906, allocations: 3.938 kB / 1.1 GB, free: 82.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/1.906, allocations: 11.95 kB / 1.1 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.906, allocations: 4 kB / 1.1 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/1.906, allocations: 108.2 kB / 1.1 GB, free: 82.73 MB / 0.6042 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.001485/1.908, allocations: 0.8372 MB / 1.101 GB, free: 81.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/1.908, allocations: 98.62 kB / 1.101 GB, free: 81.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/1.908, allocations: 52.84 kB / 1.101 GB, free: 81.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/1.908, allocations: 344.3 kB / 1.101 GB, free: 81.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.908, allocations: 34.56 kB / 1.101 GB, free: 81.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 3.467e-06/1.908, allocations: 0 / 1.101 GB, free: 81.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0003559/1.909, allocations: 137.4 kB / 1.101 GB, free: 81.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/1.909, allocations: 51.41 kB / 1.101 GB, free: 80.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/1.909, allocations: 286.9 kB / 1.102 GB, free: 80.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/1.909, allocations: 29.7 kB / 1.102 GB, free: 80.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/1.909, allocations: 192.3 kB / 1.102 GB, free: 80.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/1.909, allocations: 43.39 kB / 1.102 GB, free: 80.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/1.909, allocations: 0 / 1.102 GB, free: 80.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.909, allocations: 346.8 kB / 1.102 GB, free: 80.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/1.909, allocations: 24 kB / 1.102 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/1.909, allocations: 86.8 kB / 1.102 GB, free: 79.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/1.91, allocations: 35.97 kB / 1.102 GB, free: 79.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.91, allocations: 0 / 1.102 GB, free: 79.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002155/1.91, allocations: 141.2 kB / 1.103 GB, free: 79.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/1.91, allocations: 187.3 kB / 1.103 GB, free: 79.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.91, allocations: 4 kB / 1.103 GB, free: 79.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.91, allocations: 4.188 kB / 1.103 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.91, allocations: 23.98 kB / 1.103 GB, free: 79.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.91, allocations: 7.938 kB / 1.103 GB, free: 79.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/1.91, allocations: 35.81 kB / 1.103 GB, free: 79.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/1.91, allocations: 4 kB / 1.103 GB, free: 79.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/1.91, allocations: 8 kB / 1.103 GB, free: 79.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001372/1.91, allocations: 83.86 kB / 1.103 GB, free: 79.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/1.91, allocations: 0 / 1.103 GB, free: 79.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/1.91, allocations: 0 / 1.103 GB, free: 79.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/1.911, allocations: 39.91 kB / 1.103 GB, free: 79.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/1.911, allocations: 0 / 1.103 GB, free: 79.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/1.911, allocations: 27.89 kB / 1.103 GB, free: 79.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/1.911, allocations: 11.98 kB / 1.103 GB, free: 79.32 MB / 0.6042 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.71e-05/1.911, allocations: 112.9 kB / 1.103 GB, free: 79.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/1.911, allocations: 31.62 kB / 1.103 GB, free: 79.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/1.911, allocations: 205.4 kB / 1.103 GB, free: 78.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.911, allocations: 0 / 1.103 GB, free: 78.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.911, allocations: 0 / 1.103 GB, free: 78.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.911, allocations: 7.984 kB / 1.103 GB, free: 78.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/1.912, allocations: 0.571 MB / 1.104 GB, free: 78.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.912, allocations: 0 / 1.104 GB, free: 78.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.912, allocations: 39.91 kB / 1.104 GB, free: 78.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.912, allocations: 0 / 1.104 GB, free: 78.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/1.912, allocations: 4.094 kB / 1.104 GB, free: 78.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.912, allocations: 4 kB / 1.104 GB, free: 78.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.912, allocations: 0 / 1.104 GB, free: 78.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/1.912, allocations: 320.2 kB / 1.104 GB, free: 77.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/1.913, allocations: 128.6 kB / 1.104 GB, free: 77.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/1.913, allocations: 0 / 1.104 GB, free: 77.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/1.913, allocations: 23.97 kB / 1.104 GB, free: 77.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/1.913, allocations: 15.94 kB / 1.104 GB, free: 77.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/1.913, allocations: 8 kB / 1.104 GB, free: 77.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001912/1.913, allocations: 233.2 kB / 1.105 GB, free: 77.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.913, allocations: 0 / 1.105 GB, free: 77.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006154/1.914, allocations: 159.8 kB / 1.105 GB, free: 77.34 MB / 0.6042 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.0006487/1.914, allocations: 287 kB / 1.105 GB, free: 77.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002812/1.915, allocations: 154.1 kB / 1.105 GB, free: 76.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.915, allocations: 4.375 kB / 1.105 GB, free: 76.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/1.915, allocations: 63.86 kB / 1.105 GB, free: 76.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/1.915, allocations: 148.2 kB / 1.105 GB, free: 76.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/1.916, allocations: 379.1 kB / 1.106 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/1.916, allocations: 0.7961 MB / 1.107 GB, free: 75.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003466/1.917, allocations: 95.17 kB / 1.107 GB, free: 75.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/1.917, allocations: 23.42 kB / 1.107 GB, free: 75.36 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/1.917, allocations: 4 kB / 1.107 GB, free: 75.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.01159/1.928, allocations: 7.313 MB / 1.114 GB, free: 68.12 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)