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.001216/0.001216, allocations: 107.1 kB / 17.03 MB, free: 5.66 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.001245/0.001245, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.287/1.287, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6931/0.6931, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.352, allocations: 76.15 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01463/0.3666, allocations: 15.02 MB / 0.5722 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005235/0.3719, allocations: 3.885 MB / 0.576 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.3726, allocations: 22.19 kB / 0.576 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006816/0.3733, allocations: 188.2 kB / 0.5762 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.3753, allocations: 0.6819 MB / 0.5769 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.3769, allocations: 479.9 kB / 0.5773 GB, free: 22.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.3784, allocations: 1.079 MB / 0.5784 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.3789, allocations: 285 kB / 0.5787 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006135/0.3795, allocations: 403.9 kB / 0.5791 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.3799, allocations: 262.2 kB / 0.5793 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.3799, allocations: 20.44 kB / 0.5793 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.3815, allocations: 0.7181 MB / 0.58 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3816, allocations: 79.48 kB / 0.5801 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.3819, allocations: 182.3 kB / 0.5803 GB, free: 21.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.3831, allocations: 0.7284 MB / 0.581 GB, free: 21.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3831, allocations: 1 kB / 0.581 GB, free: 21.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3832, allocations: 0.6562 kB / 0.581 GB, free: 21.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3832, allocations: 3.438 kB / 0.581 GB, free: 21.05 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.001082/0.3843, allocations: 0.7414 MB / 0.5817 GB, free: 20.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3843, allocations: 10.36 kB / 0.5817 GB, free: 20.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.3844, allocations: 42.25 kB / 0.5818 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3854, allocations: 0.515 MB / 0.5823 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3855, allocations: 17.02 kB / 0.5823 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.3855, allocations: 16.84 kB / 0.5823 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.3859, allocations: 176.6 kB / 0.5825 GB, free: 19.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3859, allocations: 0 / 0.5825 GB, free: 19.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3859, allocations: 6.406 kB / 0.5825 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3859, allocations: 8.5 kB / 0.5825 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.3863, allocations: 144.5 kB / 0.5826 GB, free: 19.94 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.00114/0.3874, allocations: 0.8574 MB / 0.5835 GB, free: 19.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.3877, allocations: 126.7 kB / 0.5836 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3879, allocations: 70.55 kB / 0.5836 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.3881, allocations: 333.7 kB / 0.584 GB, free: 18.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.3881, allocations: 33.92 kB / 0.584 GB, free: 18.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.3881, allocations: 3.156 kB / 0.584 GB, free: 18.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005563/0.3887, allocations: 219.1 kB / 0.5842 GB, free: 18.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.3887, allocations: 53.94 kB / 0.5843 GB, free: 18.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.3891, allocations: 352.6 kB / 0.5846 GB, free: 18.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3891, allocations: 30.45 kB / 0.5846 GB, free: 18.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3892, allocations: 197.2 kB / 0.5848 GB, free: 18.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3893, allocations: 38.66 kB / 0.5849 GB, free: 18.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.3893, allocations: 35.02 kB / 0.5849 GB, free: 18.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.3894, allocations: 344.3 kB / 0.5852 GB, free: 17.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.3896, allocations: 52.08 kB / 0.5853 GB, free: 17.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3897, allocations: 85.91 kB / 0.5853 GB, free: 17.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.39, allocations: 119.3 kB / 0.5855 GB, free: 17.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.39, allocations: 7.5 kB / 0.5855 GB, free: 17.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003551/0.3904, allocations: 178.7 kB / 0.5856 GB, free: 17.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3904, allocations: 9.688 kB / 0.5856 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3904, allocations: 1.375 kB / 0.5856 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3904, allocations: 0.6562 kB / 0.5856 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3906, allocations: 24.31 kB / 0.5857 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3906, allocations: 2.25 kB / 0.5857 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.3908, allocations: 21.86 kB / 0.5857 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.3908, allocations: 10.09 kB / 0.5857 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001943/0.391, allocations: 154 kB / 0.5859 GB, free: 17.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001468/0.3912, allocations: 92.41 kB / 0.5859 GB, free: 17.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002258/0.3914, allocations: 112 kB / 0.586 GB, free: 17.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.21e-07/0.3914, allocations: 1.562 kB / 0.586 GB, free: 17.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003317/0.3918, allocations: 171.6 kB / 0.5862 GB, free: 17.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.3918, allocations: 5.188 kB / 0.5862 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.3918, allocations: 0.6562 kB / 0.5862 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.3918, allocations: 9.344 kB / 0.5862 GB, free: 17.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3919, allocations: 23.36 kB / 0.5862 GB, free: 17.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.3919, allocations: 6.234 kB / 0.5863 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.3921, allocations: 18 kB / 0.5863 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3921, allocations: 4.672 kB / 0.5863 GB, free: 17.32 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.169e-05/0.3922, allocations: 188.8 kB / 0.5865 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.3922, allocations: 35.34 kB / 0.5865 GB, free: 17.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.3927, allocations: 241.4 kB / 0.5867 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3927, allocations: 1.875 kB / 0.5867 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3927, allocations: 0 / 0.5867 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3928, allocations: 1.797 kB / 0.5867 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/0.3936, allocations: 0.638 MB / 0.5873 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3936, allocations: 1.531 kB / 0.5873 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3937, allocations: 27.94 kB / 0.5874 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3938, allocations: 1.219 kB / 0.5874 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3938, allocations: 7.031 kB / 0.5874 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3938, allocations: 2.344 kB / 0.5874 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3938, allocations: 2.094 kB / 0.5874 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.3942, allocations: 319.6 kB / 0.5877 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3943, allocations: 125.7 kB / 0.5878 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3943, allocations: 6.234 kB / 0.5878 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3945, allocations: 17.02 kB / 0.5878 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.3946, allocations: 12.61 kB / 0.5878 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3946, allocations: 6.594 kB / 0.5879 GB, free: 16.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002349/0.3949, allocations: 249.8 kB / 0.5881 GB, free: 16.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3949, allocations: 0 / 0.5881 GB, free: 16.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005972/0.3955, allocations: 194 kB / 0.5883 GB, free: 16.01 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.0005094/0.396, allocations: 249.2 kB / 0.5885 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.3965, allocations: 193.5 kB / 0.5887 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3965, allocations: 0 / 0.5887 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.3966, allocations: 80.95 kB / 0.5888 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.3974, allocations: 148.6 kB / 0.5889 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.3982, allocations: 0.5559 MB / 0.5895 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.3984, allocations: 0.7962 MB / 0.5902 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.3987, allocations: 74.05 kB / 0.5903 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.3987, allocations: 29.67 kB / 0.5903 GB, free: 14.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3987, allocations: 1.312 kB / 0.5903 GB, free: 14.67 MB / 446.1 MB Notification: Performance of Templates: time 0.01193/0.4107, allocations: 6.562 MB / 0.5967 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)