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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 105.4 kB / 17.04 MB, free: 6.082 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.001068/0.001068, allocations: 195 kB / 17.98 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7259/0.7259, allocations: 115.1 MB / 407 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3498, allocations: 76.15 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01317/0.363, allocations: 15.03 MB / 0.5722 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.3681, allocations: 3.884 MB / 0.576 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.3687, allocations: 17.62 kB / 0.576 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005726/0.3692, allocations: 192.6 kB / 0.5762 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.3709, allocations: 0.679 MB / 0.5769 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.3722, allocations: 482.9 kB / 0.5774 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.3738, allocations: 1.08 MB / 0.5784 GB, free: 22.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004743/0.3743, allocations: 284.5 kB / 0.5787 GB, free: 21.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006981/0.375, allocations: 405.3 kB / 0.5791 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.3753, allocations: 263 kB / 0.5793 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.3754, allocations: 22 kB / 0.5793 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.3769, allocations: 0.7211 MB / 0.58 GB, free: 21.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.377, allocations: 78.42 kB / 0.5801 GB, free: 21.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.3772, allocations: 182.6 kB / 0.5803 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3782, allocations: 0.7235 MB / 0.581 GB, free: 20.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3782, allocations: 1.219 kB / 0.581 GB, free: 20.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3783, allocations: 0.7812 kB / 0.581 GB, free: 20.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3783, allocations: 0 / 0.581 GB, free: 20.99 MB / 446.1 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.001006/0.3793, allocations: 0.7521 MB / 0.5817 GB, free: 20.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3793, allocations: 10.42 kB / 0.5817 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.608e-05/0.3794, allocations: 44.91 kB / 0.5818 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.3804, allocations: 0.5125 MB / 0.5823 GB, free: 20.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.3805, allocations: 12.2 kB / 0.5823 GB, free: 20.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.3805, allocations: 16.89 kB / 0.5823 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.3809, allocations: 174.8 kB / 0.5825 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3809, allocations: 1.344 kB / 0.5825 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3809, allocations: 9.219 kB / 0.5825 GB, free: 19.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3809, allocations: 3.5 kB / 0.5825 GB, free: 19.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.3813, allocations: 139.2 kB / 0.5826 GB, free: 19.89 MB / 446.1 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.001059/0.3823, allocations: 0.8666 MB / 0.5835 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.3826, allocations: 116.4 kB / 0.5836 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.3828, allocations: 73.45 kB / 0.5837 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.383, allocations: 335 kB / 0.584 GB, free: 18.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.383, allocations: 39.11 kB / 0.584 GB, free: 18.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.383, allocations: 0 / 0.584 GB, free: 18.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005383/0.3836, allocations: 217.8 kB / 0.5842 GB, free: 18.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.3836, allocations: 53.31 kB / 0.5843 GB, free: 18.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.3839, allocations: 349.1 kB / 0.5846 GB, free: 18.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3839, allocations: 27.05 kB / 0.5846 GB, free: 18.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3841, allocations: 200 kB / 0.5848 GB, free: 18.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.3841, allocations: 44.5 kB / 0.5849 GB, free: 18.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.3842, allocations: 32.48 kB / 0.5849 GB, free: 18.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.3842, allocations: 342.2 kB / 0.5852 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3844, allocations: 59.23 kB / 0.5853 GB, free: 17.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.3845, allocations: 85.75 kB / 0.5854 GB, free: 17.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.3848, allocations: 120.4 kB / 0.5855 GB, free: 17.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3848, allocations: 3.938 kB / 0.5855 GB, free: 17.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003507/0.3852, allocations: 185.9 kB / 0.5857 GB, free: 17.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3852, allocations: 11.66 kB / 0.5857 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3852, allocations: 0 / 0.5857 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3852, allocations: 1.938 kB / 0.5857 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3854, allocations: 29.03 kB / 0.5857 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3854, allocations: 0.6094 kB / 0.5857 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.3856, allocations: 14.08 kB / 0.5857 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.3856, allocations: 10.11 kB / 0.5857 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000186/0.3858, allocations: 157.9 kB / 0.5859 GB, free: 17.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001356/0.3859, allocations: 82.02 kB / 0.5859 GB, free: 17.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002272/0.3862, allocations: 113.8 kB / 0.5861 GB, free: 17.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.3862, allocations: 4 kB / 0.5861 GB, free: 17.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003298/0.3865, allocations: 175.5 kB / 0.5862 GB, free: 17.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.3865, allocations: 5.469 kB / 0.5862 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/0.3866, allocations: 2.203 kB / 0.5862 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-06/0.3866, allocations: 3.938 kB / 0.5862 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3867, allocations: 31.95 kB / 0.5863 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.3867, allocations: 1.406 kB / 0.5863 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3869, allocations: 18.33 kB / 0.5863 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3869, allocations: 8.516 kB / 0.5863 GB, free: 17.24 MB / 446.1 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 7.542e-05/0.387, allocations: 189.6 kB / 0.5865 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.3871, allocations: 36.38 kB / 0.5865 GB, free: 17.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.3876, allocations: 227.5 kB / 0.5867 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3877, allocations: 6.953 kB / 0.5867 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3877, allocations: 0.7969 kB / 0.5867 GB, free: 16.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3877, allocations: 4.75 kB / 0.5867 GB, free: 16.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.3885, allocations: 0.6315 MB / 0.5874 GB, free: 16.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3885, allocations: 0 / 0.5874 GB, free: 16.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3887, allocations: 32.08 kB / 0.5874 GB, free: 16.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3887, allocations: 2.156 kB / 0.5874 GB, free: 16.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3887, allocations: 7.516 kB / 0.5874 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3887, allocations: 1.922 kB / 0.5874 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3887, allocations: 1.312 kB / 0.5874 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.3891, allocations: 316.6 kB / 0.5877 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3892, allocations: 130.2 kB / 0.5878 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/0.3892, allocations: 3.281 kB / 0.5878 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.3895, allocations: 15.61 kB / 0.5878 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3895, allocations: 9.672 kB / 0.5879 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3895, allocations: 6.984 kB / 0.5879 GB, free: 16.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.3898, allocations: 248.7 kB / 0.5881 GB, free: 15.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3898, allocations: 1.375 kB / 0.5881 GB, free: 15.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007182/0.3905, allocations: 196.7 kB / 0.5883 GB, free: 15.94 MB / 446.1 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.0005301/0.3911, allocations: 252.5 kB / 0.5885 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005008/0.3916, allocations: 193 kB / 0.5887 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3916, allocations: 0 / 0.5887 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.3918, allocations: 77.09 kB / 0.5888 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.3926, allocations: 150.3 kB / 0.5889 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/0.3934, allocations: 0.5475 MB / 0.5895 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3937, allocations: 0.7924 MB / 0.5902 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.3939, allocations: 75.05 kB / 0.5903 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.394, allocations: 38.39 kB / 0.5903 GB, free: 14.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.394, allocations: 0 / 0.5903 GB, free: 14.6 MB / 446.1 MB Notification: Performance of Templates: time 0.01149/0.4055, allocations: 6.567 MB / 0.5968 GB, free: 11.52 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)