Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001181/0.001181, allocations: 108 kB / 16.41 MB, free: 6.438 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.001295/0.001295, allocations: 189.5 kB / 17.34 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7162/0.7162, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 61.66 kB / 0.5862 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 80.92 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4535/0.5715, allocations: 183.2 MB / 0.8442 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007128/0.5786, allocations: 4.861 MB / 0.849 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009403/0.5796, allocations: 28.84 kB / 0.849 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.5809, allocations: 441.5 kB / 0.8494 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.5841, allocations: 1.41 MB / 0.8508 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.586, allocations: 0.7789 MB / 0.8516 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.5883, allocations: 1.835 MB / 0.8534 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000822/0.5891, allocations: 0.6027 MB / 0.8539 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.5908, allocations: 0.869 MB / 0.8548 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.592, allocations: 0.5407 MB / 0.8553 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.5921, allocations: 57.88 kB / 0.8554 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.5946, allocations: 1.418 MB / 0.8568 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.5949, allocations: 269.2 kB / 0.857 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.5954, allocations: 395.8 kB / 0.8574 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.5976, allocations: 1.427 MB / 0.8588 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5976, allocations: 0 / 0.8588 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5977, allocations: 0 / 0.8588 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.591e-05/0.5977, allocations: 0 / 0.8588 GB, free: 8.754 MB / 0.6231 GB 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.001791/0.5995, allocations: 1.102 MB / 0.8599 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.5995, allocations: 8.984 kB / 0.8599 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.6008, allocations: 214.7 kB / 0.8601 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/0.6017, allocations: 0.6161 MB / 0.8607 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.6018, allocations: 37 kB / 0.8607 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/0.6019, allocations: 48 kB / 0.8608 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/0.6027, allocations: 498.3 kB / 0.8612 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6027, allocations: 0 / 0.8612 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.6028, allocations: 23.98 kB / 0.8613 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.6028, allocations: 20.94 kB / 0.8613 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.6035, allocations: 431.7 kB / 0.8617 GB, free: 5.98 MB / 0.6231 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.002456/0.606, allocations: 2.002 MB / 0.8636 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.6065, allocations: 347.6 kB / 0.864 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.6068, allocations: 213.1 kB / 0.8642 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.6071, allocations: 190.5 kB / 0.8644 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.6071, allocations: 46.59 kB / 0.8644 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.6071, allocations: 0 / 0.8644 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001168/0.6083, allocations: 0.541 MB / 0.8649 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.6084, allocations: 51.41 kB / 0.865 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.6089, allocations: 0.5107 MB / 0.8655 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.6089, allocations: 33.7 kB / 0.8655 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.6091, allocations: 308.2 kB / 0.8658 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/0.6092, allocations: 114.3 kB / 0.8659 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.6094, allocations: 74.02 kB / 0.866 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6095, allocations: 362.8 kB / 0.8663 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.6098, allocations: 146 kB / 0.8665 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.6101, allocations: 224.5 kB / 0.8667 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.6106, allocations: 335.6 kB / 0.867 GB, free: 220 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6107, allocations: 4 kB / 0.867 GB, free: 216 kB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007447/0.6114, allocations: 428.7 kB / 0.8674 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6114, allocations: 4 kB / 0.8674 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6114, allocations: 0 / 0.8674 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6115, allocations: 7.938 kB / 0.8674 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.6118, allocations: 71.91 kB / 0.8675 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6118, allocations: 3.938 kB / 0.8675 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.6123, allocations: 51.75 kB / 0.8676 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.6124, allocations: 8 kB / 0.8676 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004279/0.6128, allocations: 304 kB / 0.8679 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000294/0.6131, allocations: 220.2 kB / 0.8681 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00051/0.6136, allocations: 335.1 kB / 0.8684 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.6136, allocations: 0 / 0.8684 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006631/0.6143, allocations: 420.8 kB / 0.8688 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.6143, allocations: 4 kB / 0.8688 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.6143, allocations: 0 / 0.8688 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/0.6143, allocations: 4 kB / 0.8688 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.6146, allocations: 79.83 kB / 0.8689 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6146, allocations: 0 / 0.8689 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.6151, allocations: 39.73 kB / 0.8689 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.6151, allocations: 12.09 kB / 0.8689 GB, free: 14.2 MB / 0.6387 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.6152, allocations: 200.1 kB / 0.8691 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.6153, allocations: 63.33 kB / 0.8692 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007372/0.6161, allocations: 420.6 kB / 0.8696 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.6161, allocations: 4 kB / 0.8696 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6161, allocations: 0 / 0.8696 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005977/0.6167, allocations: 440.5 kB / 0.87 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.6184, allocations: 1.175 MB / 0.8711 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6184, allocations: 0 / 0.8711 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.6188, allocations: 83.89 kB / 0.8712 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6188, allocations: 4 kB / 0.8712 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.6189, allocations: 12 kB / 0.8712 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.6189, allocations: 7.984 kB / 0.8712 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6189, allocations: 7.422 kB / 0.8713 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.6199, allocations: 0.7145 MB / 0.8719 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.6202, allocations: 188.3 kB / 0.8721 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.6203, allocations: 8 kB / 0.8721 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.6207, allocations: 27.91 kB / 0.8722 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.6208, allocations: 31.84 kB / 0.8722 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.6208, allocations: 13.09 kB / 0.8722 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003745/0.6212, allocations: 366.8 kB / 0.8726 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6212, allocations: 4 kB / 0.8726 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008095/0.622, allocations: 315.3 kB / 0.8729 GB, free: 9.992 MB / 0.6387 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 (33): * Single equations (assignments): 33 * 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.0003786/0.6224, allocations: 189.1 kB / 0.873 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009317/0.6233, allocations: 0.5227 MB / 0.8735 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6233, allocations: 384 / 0.8735 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.6236, allocations: 179.8 kB / 0.8737 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.6252, allocations: 351.7 kB / 0.8741 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.627, allocations: 1.289 MB / 0.8753 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.6275, allocations: 0.9295 MB / 0.8762 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.6276, allocations: 47.44 kB / 0.8763 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of SimCode: time 5.51e-07/0.6276, allocations: 0 / 0.8763 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.01322/0.6409, allocations: 9.704 MB / 0.8857 GB, free: 12.8 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)