Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Delays.Examples.Delay.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001427, allocations: 186.8 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.795/0.795, allocations: 82.92 MB / 99.42 MB, free: 3.277 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.26/2.26, allocations: 205.4 MB / 325.4 MB, free: 3.379 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 84.88 kB / 393.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004924, allocations: 12 kB / 471.5 MB, free: 66.58 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 67.45 MB / 0.5263 GB, free: 15.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.5294/0.6323, allocations: 152.5 MB / 0.6753 GB, free: 5.312 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009547/0.6419, allocations: 4.741 MB / 0.6799 GB, free: 1.527 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009926/0.643, allocations: 29.19 kB / 0.6799 GB, free: 1.512 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.6446, allocations: 436.2 kB / 0.6804 GB, free: 1.148 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.6497, allocations: 1.364 MB / 0.6817 GB, free: 44 kB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.6533, allocations: 0.8738 MB / 0.6825 GB, free: 15.44 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.6558, allocations: 1.088 MB / 0.6836 GB, free: 14.52 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000978/0.6568, allocations: 444.8 kB / 0.684 GB, free: 14.06 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.6585, allocations: 0.5918 MB / 0.6846 GB, free: 13.47 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.6592, allocations: 350.5 kB / 0.6849 GB, free: 13.12 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.974e-05/0.6593, allocations: 28 kB / 0.685 GB, free: 13.1 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.6616, allocations: 0.6864 MB / 0.6856 GB, free: 12.41 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.6621, allocations: 215.4 kB / 0.6858 GB, free: 12.2 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.6625, allocations: 169.3 kB / 0.686 GB, free: 12.03 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.6643, allocations: 0.8613 MB / 0.6868 GB, free: 11.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6644, allocations: 0 / 0.6868 GB, free: 11.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.478e-06/0.6644, allocations: 0 / 0.6868 GB, free: 11.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.6644, allocations: 4 kB / 0.6869 GB, free: 11.16 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002009/0.6664, allocations: 0.9428 MB / 0.6878 GB, free: 10.17 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.6665, allocations: 8.031 kB / 0.6878 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.6683, allocations: 218.8 kB / 0.688 GB, free: 9.945 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.6698, allocations: 0.558 MB / 0.6885 GB, free: 9.348 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.6698, allocations: 37 kB / 0.6886 GB, free: 9.312 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.67, allocations: 44 kB / 0.6886 GB, free: 9.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.6713, allocations: 494.3 kB / 0.6891 GB, free: 8.777 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.6713, allocations: 8 kB / 0.6891 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.6714, allocations: 23.5 kB / 0.6891 GB, free: 8.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.6714, allocations: 24.92 kB / 0.6891 GB, free: 8.723 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.6726, allocations: 435.7 kB / 0.6896 GB, free: 8.301 MB / 474.7 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.003895/0.6765, allocations: 2.002 MB / 0.6915 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.6774, allocations: 359.6 kB / 0.6919 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.3e-05/0.6775, allocations: 16.25 kB / 0.6919 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.6775, allocations: 38.84 kB / 0.6919 GB, free: 5.699 MB / 474.7 MB Notification: Performance of pre-optimization done (n=33): time 3.627e-06/0.6775, allocations: 4 kB / 0.6919 GB, free: 5.695 MB / 474.7 MB Notification: Performance of matching and sorting (n=33): time 0.001744/0.6793, allocations: 0.5536 MB / 0.6924 GB, free: 5.137 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.6794, allocations: 63.28 kB / 0.6925 GB, free: 5.062 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008477/0.6802, allocations: 0.4952 MB / 0.693 GB, free: 4.559 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.6803, allocations: 33.7 kB / 0.693 GB, free: 4.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.6806, allocations: 304.2 kB / 0.6933 GB, free: 4.219 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.6808, allocations: 114.3 kB / 0.6934 GB, free: 4.105 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.6808, allocations: 4 kB / 0.6934 GB, free: 4.102 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.6811, allocations: 362.8 kB / 0.6938 GB, free: 3.738 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.6815, allocations: 144.6 kB / 0.6939 GB, free: 3.598 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.682, allocations: 228.4 kB / 0.6941 GB, free: 3.348 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.6825, allocations: 163.9 kB / 0.6943 GB, free: 3.188 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.286e-06/0.6825, allocations: 0 / 0.6943 GB, free: 3.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001118/0.6836, allocations: 444.5 kB / 0.6947 GB, free: 2.746 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002252/0.6839, allocations: 364.1 kB / 0.6951 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.6839, allocations: 3.953 kB / 0.6951 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.6839, allocations: 4 kB / 0.6951 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.6844, allocations: 75.84 kB / 0.6951 GB, free: 2.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.6844, allocations: 4 kB / 0.6951 GB, free: 2.277 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000686/0.6851, allocations: 59.64 kB / 0.6952 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.6852, allocations: 16 kB / 0.6952 GB, free: 2.203 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.6852, allocations: 8 kB / 0.6952 GB, free: 2.195 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009144/0.6861, allocations: 343.6 kB / 0.6955 GB, free: 1.859 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.8e-06/0.6862, allocations: 3.984 kB / 0.6956 GB, free: 1.855 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.6862, allocations: 4 kB / 0.6956 GB, free: 1.852 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.6866, allocations: 76 kB / 0.6956 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.816e-06/0.6867, allocations: 0 / 0.6956 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.6874, allocations: 63.64 kB / 0.6957 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.6875, allocations: 12 kB / 0.6957 GB, free: 1.703 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (39): * Single equations (assignments): 39 * 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.0005048/0.688, allocations: 293 kB / 0.696 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.6882, allocations: 55.34 kB / 0.696 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.6893, allocations: 432.2 kB / 0.6964 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.138e-06/0.6894, allocations: 4 kB / 0.6964 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.372e-06/0.6894, allocations: 0 / 0.6964 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000892/0.6903, allocations: 440.5 kB / 0.6969 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.693, allocations: 1.188 MB / 0.698 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.174e-06/0.6931, allocations: 0 / 0.698 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.6937, allocations: 92.77 kB / 0.6981 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.6937, allocations: 7.984 kB / 0.6981 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.6938, allocations: 8 kB / 0.6981 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.6938, allocations: 7.891 kB / 0.6981 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.787e-06/0.6938, allocations: 4.188 kB / 0.6981 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.6955, allocations: 0.8026 MB / 0.6989 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.6959, allocations: 180.3 kB / 0.6991 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.696, allocations: 19.88 kB / 0.6991 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/0.6967, allocations: 55.8 kB / 0.6992 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.6968, allocations: 27.92 kB / 0.6992 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.6969, allocations: 15.98 kB / 0.6992 GB, free: 13.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006144/0.6975, allocations: 354.8 kB / 0.6996 GB, free: 13.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.6975, allocations: 0 / 0.6996 GB, free: 13.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0012/0.6987, allocations: 327.2 kB / 0.6999 GB, free: 13.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0005207/0.6993, allocations: 190.3 kB / 0.7 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.7007, allocations: 0.5202 MB / 0.7006 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.545e-06/0.7008, allocations: 4 kB / 0.7006 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.7012, allocations: 187.9 kB / 0.7007 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.7034, allocations: 366.3 kB / 0.7011 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.7064, allocations: 1.534 MB / 0.7026 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007729/0.7072, allocations: 0.9451 MB / 0.7035 GB, free: 9.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001056/0.7083, allocations: 180.8 kB / 0.7037 GB, free: 9.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.7085, allocations: 47.42 kB / 0.7037 GB, free: 9.203 MB / 490.7 MB Notification: Performance of SimCode: time 1.566e-06/0.7085, allocations: 4 kB / 0.7037 GB, free: 9.199 MB / 490.7 MB Notification: Performance of Templates: time 0.02916/0.7377, allocations: 10.95 MB / 0.7144 GB, free: 14.37 MB / 0.4948 GB