Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay") translateModel(Annex60.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005253/0.005253, allocations: 102.4 kB / 15.74 MB, free: 6.043 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.001028/0.001028, allocations: 200.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3393/0.3393, allocations: 54.95 MB / 324.9 MB, free: 12 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71 kB / 456.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08112/0.08244, allocations: 59.59 MB / 0.5038 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Delays.Examples.Delay): time 0.3943/0.4768, allocations: 183.2 MB / 0.6827 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006017/0.4829, allocations: 4.628 MB / 0.6872 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007541/0.4836, allocations: 28.59 kB / 0.6872 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.4848, allocations: 0.4986 MB / 0.6877 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.4872, allocations: 1.292 MB / 0.689 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.4889, allocations: 0.8135 MB / 0.6898 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002153/0.4911, allocations: 2.196 MB / 0.6919 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007259/0.4918, allocations: 0.6586 MB / 0.6926 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.4933, allocations: 1.024 MB / 0.6936 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009698/0.4943, allocations: 0.6369 MB / 0.6942 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.4944, allocations: 74 kB / 0.6943 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.4962, allocations: 1.183 MB / 0.6954 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.4965, allocations: 343.7 kB / 0.6958 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.497, allocations: 491.1 kB / 0.6962 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.4986, allocations: 1.578 MB / 0.6978 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4986, allocations: 0 / 0.6978 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4986, allocations: 3.188 kB / 0.6978 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.4986, allocations: 0 / 0.6978 GB, free: 15.15 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001643/0.5003, allocations: 1.226 MB / 0.699 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.5003, allocations: 9.562 kB / 0.699 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.5014, allocations: 211.1 kB / 0.6992 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.5022, allocations: 0.6427 MB / 0.6998 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.5022, allocations: 50.22 kB / 0.6998 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.5023, allocations: 57.69 kB / 0.6999 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.5039, allocations: 0.7728 MB / 0.7007 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.5039, allocations: 0 / 0.7007 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.504, allocations: 25.06 kB / 0.7007 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.504, allocations: 23.19 kB / 0.7007 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.5056, allocations: 0.6809 MB / 0.7014 GB, free: 13.98 MB / 0.5137 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.002656/0.5082, allocations: 2.433 MB / 0.7037 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.5096, allocations: 0.4992 MB / 0.7042 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.5099, allocations: 212.4 kB / 0.7044 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.5099, allocations: 4.219 kB / 0.7044 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.5099, allocations: 40.12 kB / 0.7045 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.332e-06/0.5099, allocations: 0 / 0.7045 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.002439/0.5124, allocations: 0.8338 MB / 0.7053 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.5124, allocations: 60.16 kB / 0.7054 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.513, allocations: 0.6018 MB / 0.7059 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.513, allocations: 37.83 kB / 0.706 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.5132, allocations: 353.5 kB / 0.7063 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.5133, allocations: 127 kB / 0.7064 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.5134, allocations: 84.73 kB / 0.7065 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5136, allocations: 377.3 kB / 0.7069 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.5141, allocations: 217.9 kB / 0.7071 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.5146, allocations: 303.1 kB / 0.7074 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009925/0.5156, allocations: 491.6 kB / 0.7078 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5156, allocations: 0 / 0.7078 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001171/0.5168, allocations: 0.5932 MB / 0.7084 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5168, allocations: 6.719 kB / 0.7084 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5169, allocations: 3.062 kB / 0.7084 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5169, allocations: 6.938 kB / 0.7084 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.5174, allocations: 111.9 kB / 0.7085 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5174, allocations: 8.25 kB / 0.7085 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.5179, allocations: 77.06 kB / 0.7086 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.518, allocations: 17.64 kB / 0.7086 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004103/0.5184, allocations: 344.1 kB / 0.709 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002904/0.5187, allocations: 248.9 kB / 0.7092 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000509/0.5192, allocations: 390.4 kB / 0.7096 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/0.5192, allocations: 7.938 kB / 0.7096 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0006672/0.5199, allocations: 492.4 kB / 0.7101 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-06/0.5199, allocations: 5.812 kB / 0.7101 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.5199, allocations: 6.375 kB / 0.7101 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.5199, allocations: 2.469 kB / 0.7101 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.5203, allocations: 89.36 kB / 0.7102 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.5203, allocations: 11.03 kB / 0.7102 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.5207, allocations: 38.34 kB / 0.7102 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.5207, allocations: 18.48 kB / 0.7102 GB, free: 9.121 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (48): * Single equations (assignments): 48 * 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 0.0001321/0.5209, allocations: 213 kB / 0.7104 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.521, allocations: 70.86 kB / 0.7105 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.5211, allocations: 74.48 kB / 0.7106 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5211, allocations: 5.375 kB / 0.7106 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5211, allocations: 4 kB / 0.7106 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.5222, allocations: 0.5412 MB / 0.7111 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.524, allocations: 1.323 MB / 0.7124 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.524, allocations: 0 / 0.7124 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.5246, allocations: 117.5 kB / 0.7125 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5246, allocations: 4.312 kB / 0.7125 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.5246, allocations: 15.16 kB / 0.7125 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5246, allocations: 5.219 kB / 0.7125 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5246, allocations: 2.094 kB / 0.7125 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.5263, allocations: 0.9328 MB / 0.7134 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.5266, allocations: 211.6 kB / 0.7136 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.5267, allocations: 13.75 kB / 0.7137 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/0.5273, allocations: 58.72 kB / 0.7137 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.5274, allocations: 27.22 kB / 0.7137 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.5274, allocations: 24.31 kB / 0.7138 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000394/0.5278, allocations: 435.4 kB / 0.7142 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5278, allocations: 0 / 0.7142 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007291/0.5286, allocations: 383 kB / 0.7145 GB, free: 6.395 MB / 0.5137 GB 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 (35): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.0003226/0.5289, allocations: 166.7 kB / 0.7147 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.5306, allocations: 0.6994 MB / 0.7154 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5306, allocations: 5.062 kB / 0.7154 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.5311, allocations: 238.8 kB / 0.7156 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.5329, allocations: 443.7 kB / 0.716 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.5349, allocations: 1.437 MB / 0.7174 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.5355, allocations: 0.9607 MB / 0.7184 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005593/0.536, allocations: 201.3 kB / 0.7186 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.5362, allocations: 55.42 kB / 0.7186 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of SimCode: time 3.7e-07/0.5362, allocations: 0 / 0.7186 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of Templates: time 0.02381/0.5601, allocations: 14.78 MB / 0.7331 GB, free: 4.879 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.sim & ./Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.pipe 2>&1)