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.006799/0.006799, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001457/0.001457, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.577/1.577, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4513/0.4513, allocations: 54.94 MB / 324.8 MB, free: 15.89 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.001437/0.001437, allocations: 72.73 kB / 456.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1486, allocations: 59.58 MB / 0.5037 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Delays.Examples.Delay): time 0.576/0.7247, allocations: 183.2 MB / 0.6826 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008005/0.7328, allocations: 4.63 MB / 0.6871 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.734, allocations: 28.5 kB / 0.6871 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.7358, allocations: 0.5221 MB / 0.6877 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.7389, allocations: 1.331 MB / 0.689 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.7409, allocations: 0.8275 MB / 0.6898 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.7432, allocations: 2.202 MB / 0.6919 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008007/0.7441, allocations: 0.6577 MB / 0.6926 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.746, allocations: 1.067 MB / 0.6936 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.7473, allocations: 0.6382 MB / 0.6942 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.7474, allocations: 74.69 kB / 0.6943 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.7496, allocations: 1.18 MB / 0.6954 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.75, allocations: 344.8 kB / 0.6958 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005676/0.7506, allocations: 495.8 kB / 0.6962 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.7529, allocations: 1.573 MB / 0.6978 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.7529, allocations: 0 / 0.6978 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7529, allocations: 0 / 0.6978 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.7529, allocations: 2.344 kB / 0.6978 GB, free: 15.14 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.002026/0.755, allocations: 1.202 MB / 0.699 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.755, allocations: 10.06 kB / 0.699 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.7563, allocations: 202.3 kB / 0.6992 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.7574, allocations: 0.6371 MB / 0.6998 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.7575, allocations: 40.53 kB / 0.6998 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.7576, allocations: 64.94 kB / 0.6999 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.7596, allocations: 0.765 MB / 0.7006 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.7597, allocations: 0 / 0.7006 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.7597, allocations: 28.25 kB / 0.7007 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.7598, allocations: 29.97 kB / 0.7007 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.7615, allocations: 0.6754 MB / 0.7013 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.003588/0.7651, allocations: 2.422 MB / 0.7037 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.7665, allocations: 0.5045 MB / 0.7042 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.7669, allocations: 204.4 kB / 0.7044 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.7669, allocations: 11.33 kB / 0.7044 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.767, allocations: 41.12 kB / 0.7044 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 2.625e-06/0.767, allocations: 0 / 0.7044 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.002803/0.7698, allocations: 0.8325 MB / 0.7053 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.7699, allocations: 56.78 kB / 0.7053 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.7706, allocations: 0.6087 MB / 0.7059 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.156e-05/0.7706, allocations: 35.08 kB / 0.7059 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.7709, allocations: 347.7 kB / 0.7063 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.771, allocations: 126.7 kB / 0.7064 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.7712, allocations: 82.5 kB / 0.7065 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7713, allocations: 377.9 kB / 0.7068 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.7719, allocations: 218 kB / 0.707 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.7725, allocations: 302.8 kB / 0.7073 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.7736, allocations: 491.4 kB / 0.7078 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.7736, allocations: 2.906 kB / 0.7078 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001332/0.7749, allocations: 0.5858 MB / 0.7084 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.7749, allocations: 5.25 kB / 0.7084 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.775, allocations: 2.719 kB / 0.7084 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.775, allocations: 3.312 kB / 0.7084 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/0.7756, allocations: 118.6 kB / 0.7085 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.7756, allocations: 6.375 kB / 0.7085 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/0.7763, allocations: 80.12 kB / 0.7086 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.7764, allocations: 10.38 kB / 0.7086 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005377/0.7769, allocations: 344 kB / 0.7089 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003235/0.7773, allocations: 250.1 kB / 0.7092 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000582/0.7778, allocations: 392.4 kB / 0.7095 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.7779, allocations: 3.938 kB / 0.7095 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.0008024/0.7787, allocations: 494.1 kB / 0.71 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.7787, allocations: 7.625 kB / 0.71 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/0.7787, allocations: 0 / 0.71 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.7787, allocations: 4.688 kB / 0.71 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.7791, allocations: 89.27 kB / 0.7101 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7791, allocations: 2.906 kB / 0.7101 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.7797, allocations: 46.88 kB / 0.7102 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.7797, allocations: 18.33 kB / 0.7102 GB, free: 9.031 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.0002595/0.78, allocations: 208.3 kB / 0.7104 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.7802, allocations: 67.28 kB / 0.7104 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.7804, allocations: 73.14 kB / 0.7105 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.7804, allocations: 2.094 kB / 0.7105 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.7804, allocations: 0 / 0.7105 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/0.7817, allocations: 0.5485 MB / 0.711 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.7842, allocations: 1.317 MB / 0.7123 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7842, allocations: 3.844 kB / 0.7123 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.7848, allocations: 114.3 kB / 0.7124 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.7848, allocations: 8.906 kB / 0.7124 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.7849, allocations: 17.28 kB / 0.7125 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.7849, allocations: 2.562 kB / 0.7125 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.7849, allocations: 0 / 0.7125 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.7869, allocations: 0.9305 MB / 0.7134 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/0.7874, allocations: 207.2 kB / 0.7136 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.7875, allocations: 10.47 kB / 0.7136 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007854/0.7883, allocations: 59.62 kB / 0.7136 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.793e-05/0.7884, allocations: 24.16 kB / 0.7137 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.7885, allocations: 27.16 kB / 0.7137 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005572/0.7891, allocations: 432.3 kB / 0.7141 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7891, allocations: 0 / 0.7141 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001065/0.7901, allocations: 376.6 kB / 0.7145 GB, free: 6.328 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.0004689/0.7906, allocations: 178.1 kB / 0.7146 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.7924, allocations: 0.6909 MB / 0.7153 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.7924, allocations: 5.625 kB / 0.7153 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006252/0.793, allocations: 239.2 kB / 0.7155 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.795, allocations: 440.5 kB / 0.716 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.7975, allocations: 1.434 MB / 0.7174 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.798, allocations: 0.9534 MB / 0.7183 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007139/0.7988, allocations: 201.3 kB / 0.7185 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.799, allocations: 59.42 kB / 0.7185 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.799, allocations: 0 / 0.7185 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.02442/0.8234, allocations: 14.78 MB / 0.733 GB, free: 4.805 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)