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.005372/0.005372, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001144/0.001144, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2645/0.2645, allocations: 54.98 MB / 324.9 MB, free: 4.836 MB / 270.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.001596/0.001596, allocations: 76.42 kB / 456.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1417, allocations: 59.6 MB / 0.5037 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Delays.Examples.Delay): time 0.529/0.6707, allocations: 183.2 MB / 0.6826 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008086/0.6788, allocations: 4.645 MB / 0.6871 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.68, allocations: 27.81 kB / 0.6872 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.6818, allocations: 0.5245 MB / 0.6877 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.6864, allocations: 1.322 MB / 0.689 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.6888, allocations: 0.8326 MB / 0.6898 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003527/0.6924, allocations: 2.195 MB / 0.6919 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.6936, allocations: 0.6661 MB / 0.6926 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.6969, allocations: 1.062 MB / 0.6936 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.6987, allocations: 0.6447 MB / 0.6942 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.6989, allocations: 76 kB / 0.6943 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.7013, allocations: 1.177 MB / 0.6955 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003497/0.7017, allocations: 347 kB / 0.6958 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005776/0.7023, allocations: 489.9 kB / 0.6963 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.7043, allocations: 1.561 MB / 0.6978 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.7044, allocations: 0 / 0.6978 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7044, allocations: 3.938 kB / 0.6978 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.7044, allocations: 0 / 0.6978 GB, free: 10.02 MB / 0.545 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.001863/0.7063, allocations: 1.203 MB / 0.699 GB, free: 8.758 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7063, allocations: 12.03 kB / 0.699 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.7076, allocations: 198.8 kB / 0.6992 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.7085, allocations: 0.6398 MB / 0.6998 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.7086, allocations: 45.31 kB / 0.6998 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-05/0.7087, allocations: 63.91 kB / 0.6999 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.7105, allocations: 0.7676 MB / 0.7006 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.7105, allocations: 0 / 0.7006 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.7106, allocations: 24 kB / 0.7007 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.7106, allocations: 25.88 kB / 0.7007 GB, free: 6.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.7123, allocations: 0.6804 MB / 0.7013 GB, free: 6.262 MB / 0.545 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.003152/0.7155, allocations: 2.425 MB / 0.7037 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.7169, allocations: 0.5036 MB / 0.7042 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.7172, allocations: 204.6 kB / 0.7044 GB, free: 2.914 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.7173, allocations: 8 kB / 0.7044 GB, free: 2.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.7173, allocations: 39.44 kB / 0.7045 GB, free: 2.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.7173, allocations: 0 / 0.7045 GB, free: 2.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.002628/0.7199, allocations: 0.8331 MB / 0.7053 GB, free: 2.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.72, allocations: 59.2 kB / 0.7053 GB, free: 1.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006525/0.7207, allocations: 0.6096 MB / 0.7059 GB, free: 1.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.7207, allocations: 33.7 kB / 0.7059 GB, free: 1.293 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.721, allocations: 344.4 kB / 0.7063 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.7211, allocations: 134.1 kB / 0.7064 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.7212, allocations: 78.05 kB / 0.7065 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.7214, allocations: 378.7 kB / 0.7068 GB, free: 364 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/0.7219, allocations: 214.5 kB / 0.707 GB, free: 148 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005833/0.7225, allocations: 302.6 kB / 0.7073 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.7236, allocations: 497.9 kB / 0.7078 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7236, allocations: 0 / 0.7078 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001192/0.7248, allocations: 0.5863 MB / 0.7084 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7248, allocations: 4 kB / 0.7084 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.7248, allocations: 0 / 0.7084 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.7248, allocations: 5.5 kB / 0.7084 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.7254, allocations: 115.8 kB / 0.7085 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.7254, allocations: 7.984 kB / 0.7085 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.726, allocations: 79.55 kB / 0.7086 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.7261, allocations: 12 kB / 0.7086 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004605/0.7265, allocations: 344.9 kB / 0.7089 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003264/0.7269, allocations: 246.6 kB / 0.7092 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006056/0.7275, allocations: 393.7 kB / 0.7095 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.049e-05/0.7275, allocations: 3.938 kB / 0.7095 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0008039/0.7283, allocations: 488.2 kB / 0.71 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.7283, allocations: 8 kB / 0.71 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.7283, allocations: 192 / 0.71 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.7284, allocations: 11.94 kB / 0.71 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.7287, allocations: 91.83 kB / 0.7101 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7287, allocations: 4 kB / 0.7101 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.7292, allocations: 39.72 kB / 0.7102 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.7293, allocations: 23 kB / 0.7102 GB, free: 12.8 MB / 0.5606 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.0001712/0.7294, allocations: 208.1 kB / 0.7104 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7296, allocations: 67.25 kB / 0.7104 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.7297, allocations: 74.17 kB / 0.7105 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.7297, allocations: 4 kB / 0.7105 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7297, allocations: 0 / 0.7105 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/0.7308, allocations: 0.5507 MB / 0.711 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.7329, allocations: 1.313 MB / 0.7123 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7329, allocations: 192 / 0.7123 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.7335, allocations: 127.8 kB / 0.7125 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.7335, allocations: 4 kB / 0.7125 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.7336, allocations: 15.94 kB / 0.7125 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.302e-05/0.7336, allocations: 4 kB / 0.7125 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7336, allocations: 0 / 0.7125 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.7354, allocations: 0.931 MB / 0.7134 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.7357, allocations: 208.2 kB / 0.7136 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.7359, allocations: 11.94 kB / 0.7136 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/0.7366, allocations: 51.94 kB / 0.7136 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.7367, allocations: 27.97 kB / 0.7137 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.7368, allocations: 27.97 kB / 0.7137 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005978/0.7374, allocations: 431 kB / 0.7141 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7374, allocations: 0 / 0.7141 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001313/0.7387, allocations: 379.1 kB / 0.7145 GB, free: 8.238 MB / 0.5606 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.0005838/0.7393, allocations: 181.7 kB / 0.7146 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.7411, allocations: 0.6908 MB / 0.7153 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/0.7411, allocations: 4 kB / 0.7153 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.7417, allocations: 244.7 kB / 0.7156 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.7437, allocations: 421.8 kB / 0.716 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.7467, allocations: 1.427 MB / 0.7174 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.7474, allocations: 0.9651 MB / 0.7183 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007502/0.7481, allocations: 201.3 kB / 0.7185 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.7483, allocations: 55.42 kB / 0.7185 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.7483, allocations: 0 / 0.7185 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of Templates: time 0.02868/0.777, allocations: 14.78 MB / 0.733 GB, free: 5.402 MB / 0.5762 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)