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.001434/0.001434, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.001608/0.001608, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7883/0.7883, allocations: 135.1 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3647, allocations: 80.91 MB / 0.585 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5049/0.8696, allocations: 183.2 MB / 0.7639 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007954/0.8776, allocations: 4.864 MB / 0.7687 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.8789, allocations: 31 kB / 0.7687 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.8801, allocations: 435 kB / 0.7691 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.8838, allocations: 1.408 MB / 0.7705 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.8862, allocations: 0.7679 MB / 0.7713 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002774/0.889, allocations: 1.84 MB / 0.773 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.89, allocations: 0.5983 MB / 0.7736 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.8919, allocations: 0.8714 MB / 0.7745 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.8931, allocations: 0.544 MB / 0.775 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.8932, allocations: 59.31 kB / 0.7751 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.8962, allocations: 1.411 MB / 0.7764 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003267/0.8966, allocations: 260.7 kB / 0.7767 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.8972, allocations: 404.5 kB / 0.7771 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.8997, allocations: 1.416 MB / 0.7785 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8997, allocations: 1.031 kB / 0.7785 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8997, allocations: 0 / 0.7785 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.8997, allocations: 0 / 0.7785 GB, free: 1.41 MB / 0.5762 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.001766/0.9015, allocations: 1.097 MB / 0.7795 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9015, allocations: 12.8 kB / 0.7795 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.9028, allocations: 209.7 kB / 0.7797 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008343/0.9037, allocations: 0.5829 MB / 0.7803 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.9037, allocations: 35.34 kB / 0.7804 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.9038, allocations: 54.17 kB / 0.7804 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007931/0.9046, allocations: 496.5 kB / 0.7809 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.9046, allocations: 0.9375 kB / 0.7809 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.9047, allocations: 18.62 kB / 0.7809 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.9047, allocations: 22.61 kB / 0.7809 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007182/0.9054, allocations: 435 kB / 0.7813 GB, free: 16.37 MB / 0.5919 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.002403/0.9079, allocations: 2.025 MB / 0.7833 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.9084, allocations: 340.3 kB / 0.7836 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.9087, allocations: 210.3 kB / 0.7838 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/0.909, allocations: 195.3 kB / 0.784 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.909, allocations: 38.47 kB / 0.7841 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.909, allocations: 1.094 kB / 0.7841 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001157/0.9102, allocations: 0.5423 MB / 0.7846 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.9102, allocations: 61.88 kB / 0.7846 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.9107, allocations: 0.5034 MB / 0.7851 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.9108, allocations: 37.83 kB / 0.7852 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.9109, allocations: 301.5 kB / 0.7855 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.911, allocations: 123.1 kB / 0.7856 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.9112, allocations: 72.48 kB / 0.7856 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9113, allocations: 361.7 kB / 0.786 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.9116, allocations: 143.8 kB / 0.7861 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.9119, allocations: 221.3 kB / 0.7863 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.9124, allocations: 341.4 kB / 0.7867 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9124, allocations: 0.875 kB / 0.7867 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006654/0.9131, allocations: 433.2 kB / 0.7871 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.9131, allocations: 6.688 kB / 0.7871 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9131, allocations: 0 / 0.7871 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.9131, allocations: 2.781 kB / 0.7871 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.9135, allocations: 78.27 kB / 0.7872 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.9135, allocations: 3.188 kB / 0.7872 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.914, allocations: 35.48 kB / 0.7872 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.914, allocations: 11.41 kB / 0.7872 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003997/0.9144, allocations: 307.8 kB / 0.7875 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002713/0.9147, allocations: 223.2 kB / 0.7877 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004639/0.9152, allocations: 324.4 kB / 0.788 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.9152, allocations: 0.9688 kB / 0.788 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006174/0.9158, allocations: 428 kB / 0.7884 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.9159, allocations: 8.75 kB / 0.7884 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.9159, allocations: 0 / 0.7884 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.9159, allocations: 4.406 kB / 0.7885 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.9162, allocations: 70.91 kB / 0.7885 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.9162, allocations: 7.188 kB / 0.7885 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.9166, allocations: 39.91 kB / 0.7886 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.9167, allocations: 9.438 kB / 0.7886 GB, free: 13.8 MB / 0.5919 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.0001387/0.9168, allocations: 204.1 kB / 0.7888 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.9169, allocations: 64.66 kB / 0.7888 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.9176, allocations: 416.3 kB / 0.7892 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.9176, allocations: 7.25 kB / 0.7892 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9176, allocations: 3.406 kB / 0.7892 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005394/0.9182, allocations: 438.8 kB / 0.7897 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.9197, allocations: 1.168 MB / 0.7908 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9197, allocations: 2.531 kB / 0.7908 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.9201, allocations: 95.16 kB / 0.7909 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.9202, allocations: 3.125 kB / 0.7909 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.9202, allocations: 16.84 kB / 0.7909 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.9202, allocations: 2.219 kB / 0.7909 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9202, allocations: 3.594 kB / 0.7909 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009422/0.9212, allocations: 0.7224 MB / 0.7916 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.9214, allocations: 176.2 kB / 0.7918 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.9215, allocations: 8.906 kB / 0.7918 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.9219, allocations: 28.92 kB / 0.7918 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.922, allocations: 35.34 kB / 0.7919 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.922, allocations: 12.59 kB / 0.7919 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003736/0.9224, allocations: 365.8 kB / 0.7922 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9224, allocations: 3.406 kB / 0.7922 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000852/0.9233, allocations: 325.3 kB / 0.7925 GB, free: 12.53 MB / 0.5919 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.0004287/0.9237, allocations: 188 kB / 0.7927 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009639/0.9247, allocations: 0.5432 MB / 0.7932 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9247, allocations: 3.344 kB / 0.7932 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.925, allocations: 187.3 kB / 0.7934 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.9265, allocations: 340.7 kB / 0.7937 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.9285, allocations: 1.305 MB / 0.795 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.929, allocations: 0.9288 MB / 0.7959 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.9292, allocations: 47 kB / 0.796 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.9292, allocations: 4 kB / 0.796 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of Templates: time 0.01302/0.9422, allocations: 9.711 MB / 0.8055 GB, free: 9.766 MB / 0.5919 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)