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.001082/0.001081, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.008687/0.008687, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.618/1.618, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.405/0.405, allocations: 55.02 MB / 325.8 MB, free: 0.582 MB / 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.0005593/0.0005592, allocations: 19.98 kB / 397.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3704, allocations: 60.72 MB / 458 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Delays.Examples.Delay): time 0.1991/0.5696, allocations: 178.6 MB / 0.6216 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008249/0.5779, allocations: 4.654 MB / 0.6262 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009401/0.5789, allocations: 27.81 kB / 0.6262 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.5802, allocations: 449.8 kB / 0.6266 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.5833, allocations: 1.206 MB / 0.6278 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.5854, allocations: 0.7427 MB / 0.6285 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.5886, allocations: 3.029 MB / 0.6315 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007777/0.5894, allocations: 0.5554 MB / 0.632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.5912, allocations: 0.887 MB / 0.6329 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.5924, allocations: 0.6477 MB / 0.6335 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.5925, allocations: 32 kB / 0.6336 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.5947, allocations: 1.302 MB / 0.6348 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.5951, allocations: 295.1 kB / 0.6351 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.5955, allocations: 459.6 kB / 0.6356 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.5975, allocations: 1.561 MB / 0.6371 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5975, allocations: 0 / 0.6371 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.015e-06/0.5975, allocations: 0 / 0.6371 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.5975, allocations: 0 / 0.6371 GB, free: 4.441 MB / 0.4981 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.001889/0.5994, allocations: 1.037 MB / 0.6381 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5995, allocations: 8.031 kB / 0.6381 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.6007, allocations: 202.8 kB / 0.6383 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.6018, allocations: 0.6124 MB / 0.6389 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.6018, allocations: 46.38 kB / 0.6389 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.844e-05/0.6019, allocations: 60 kB / 0.639 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.6042, allocations: 0.7911 MB / 0.6398 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.6043, allocations: 0 / 0.6398 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.6044, allocations: 31.94 kB / 0.6398 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.6044, allocations: 21.31 kB / 0.6398 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.6064, allocations: 0.7116 MB / 0.6405 GB, free: 0.8281 MB / 0.4981 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.2945/0.9009, allocations: 2.427 MB / 0.6429 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.9023, allocations: 0.5335 MB / 0.6434 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.9027, allocations: 214 kB / 0.6436 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.9027, allocations: 3.766 kB / 0.6436 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.9027, allocations: 41.88 kB / 0.6436 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 3.256e-06/0.9028, allocations: 0 / 0.6436 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0028/0.9056, allocations: 0.8987 MB / 0.6445 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.9056, allocations: 54.19 kB / 0.6446 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.9062, allocations: 0.6064 MB / 0.6452 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.9063, allocations: 37.8 kB / 0.6452 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.9065, allocations: 345.1 kB / 0.6455 GB, free: 160.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.9066, allocations: 119.7 kB / 0.6456 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.9067, allocations: 41.75 kB / 0.6457 GB, free: 160.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9068, allocations: 378.1 kB / 0.646 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005247/0.9073, allocations: 219.1 kB / 0.6463 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.9079, allocations: 320.8 kB / 0.6466 GB, free: 159.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.9089, allocations: 0.5095 MB / 0.6471 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.9089, allocations: 5.219 kB / 0.6471 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001252/0.9102, allocations: 0.6238 MB / 0.6477 GB, free: 159.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.9103, allocations: 132.5 kB / 0.6478 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9103, allocations: 0.7031 kB / 0.6478 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.9103, allocations: 10.84 kB / 0.6478 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.9109, allocations: 121.4 kB / 0.6479 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.9109, allocations: 8.578 kB / 0.6479 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/0.9118, allocations: 103.9 kB / 0.648 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.9118, allocations: 19.06 kB / 0.6481 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-06/0.9118, allocations: 2.531 kB / 0.6481 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007078/0.9125, allocations: 422.7 kB / 0.6485 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9126, allocations: 5.406 kB / 0.6485 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/0.9126, allocations: 3 kB / 0.6485 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.9129, allocations: 91.31 kB / 0.6486 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.9129, allocations: 3.562 kB / 0.6486 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.9136, allocations: 74.48 kB / 0.6486 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.9136, allocations: 16.08 kB / 0.6486 GB, free: 159.4 MB / 0.4981 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.000481/0.9141, allocations: 314.9 kB / 0.6489 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.9142, allocations: 67.64 kB / 0.649 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.9144, allocations: 73.33 kB / 0.6491 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.9144, allocations: 7.062 kB / 0.6491 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.9144, allocations: 3.969 kB / 0.6491 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.9157, allocations: 0.5692 MB / 0.6496 GB, free: 159 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.9177, allocations: 1.35 MB / 0.651 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.9178, allocations: 4.531 kB / 0.651 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.9183, allocations: 126 kB / 0.6511 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.9183, allocations: 8.094 kB / 0.6511 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.9184, allocations: 8.844 kB / 0.6511 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.9184, allocations: 3.594 kB / 0.6511 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9184, allocations: 2.516 kB / 0.6511 GB, free: 158.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.9203, allocations: 0.9684 MB / 0.6521 GB, free: 158.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.9206, allocations: 210.8 kB / 0.6523 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.108e-05/0.9207, allocations: 13.19 kB / 0.6523 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.9215, allocations: 93.7 kB / 0.6524 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.9216, allocations: 23.61 kB / 0.6524 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.9216, allocations: 27.05 kB / 0.6524 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005201/0.9222, allocations: 436.9 kB / 0.6528 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9222, allocations: 0.8438 kB / 0.6528 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001054/0.9232, allocations: 372.9 kB / 0.6532 GB, free: 158.1 MB / 0.4981 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.0004274/0.9237, allocations: 173.5 kB / 0.6533 GB, free: 158 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.9252, allocations: 0.7292 MB / 0.6541 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9252, allocations: 0 / 0.6541 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.9258, allocations: 262.5 kB / 0.6543 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.928, allocations: 443.3 kB / 0.6547 GB, free: 157.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.9307, allocations: 1.789 MB / 0.6565 GB, free: 156.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.9311, allocations: 0.958 MB / 0.6574 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007517/0.9318, allocations: 205.1 kB / 0.6576 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.932, allocations: 52.67 kB / 0.6577 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.932, allocations: 0 / 0.6577 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.03326/0.9652, allocations: 14.19 MB / 0.6715 GB, free: 155 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Delays.Examples.Delay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: