Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005726/0.005726, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001387/0.001387, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7147/0.7147, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 66.47 kB / 0.5813 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1437, allocations: 80.2 MB / 0.6597 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5717/0.7154, allocations: 183.2 MB / 0.8386 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007059/0.7225, allocations: 4.877 MB / 0.8434 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.7238, allocations: 28.41 kB / 0.8434 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.725, allocations: 434.1 kB / 0.8438 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.7286, allocations: 1.407 MB / 0.8452 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.7303, allocations: 0.7802 MB / 0.8459 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002045/0.7324, allocations: 1.844 MB / 0.8477 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006189/0.733, allocations: 0.595 MB / 0.8483 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.7344, allocations: 0.8731 MB / 0.8492 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009091/0.7353, allocations: 0.5437 MB / 0.8497 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.7354, allocations: 58.69 kB / 0.8498 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.7376, allocations: 1.409 MB / 0.8511 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.7379, allocations: 270.5 kB / 0.8514 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.7383, allocations: 400.6 kB / 0.8518 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.74, allocations: 1.437 MB / 0.8532 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.7401, allocations: 0 / 0.8532 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7401, allocations: 0 / 0.8532 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.7401, allocations: 0.9375 kB / 0.8532 GB, free: 2.633 MB / 0.6387 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.001266/0.7414, allocations: 1.127 MB / 0.8543 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.7414, allocations: 8.094 kB / 0.8543 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.7425, allocations: 214.3 kB / 0.8545 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.7433, allocations: 0.6237 MB / 0.8551 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.7433, allocations: 35.75 kB / 0.8551 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.7434, allocations: 48.62 kB / 0.8552 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/0.7442, allocations: 497 kB / 0.8556 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.7442, allocations: 3.5 kB / 0.8557 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.7443, allocations: 16.34 kB / 0.8557 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.7443, allocations: 16.44 kB / 0.8557 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.7449, allocations: 439.5 kB / 0.8561 GB, free: 1.551 MB / 0.6387 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.00197/0.7469, allocations: 2.007 MB / 0.8581 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.7474, allocations: 351.5 kB / 0.8584 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.7477, allocations: 212.8 kB / 0.8586 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.748, allocations: 187 kB / 0.8588 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.748, allocations: 40.34 kB / 0.8588 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.053e-06/0.748, allocations: 3.656 kB / 0.8588 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001043/0.7491, allocations: 0.5432 MB / 0.8593 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.7491, allocations: 57.59 kB / 0.8594 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.7496, allocations: 0.5041 MB / 0.8599 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.7496, allocations: 36.42 kB / 0.8599 GB, free: 16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.7498, allocations: 307.9 kB / 0.8602 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.222e-05/0.7499, allocations: 125.8 kB / 0.8603 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-05/0.75, allocations: 69.59 kB / 0.8604 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7501, allocations: 367.4 kB / 0.8608 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.7503, allocations: 143.8 kB / 0.8609 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.7506, allocations: 227 kB / 0.8611 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.7511, allocations: 335.6 kB / 0.8614 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7511, allocations: 1 kB / 0.8614 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006344/0.7517, allocations: 430.3 kB / 0.8618 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.7518, allocations: 8.125 kB / 0.8619 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7518, allocations: 1.125 kB / 0.8619 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7518, allocations: 7.156 kB / 0.8619 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.7521, allocations: 71.22 kB / 0.8619 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7521, allocations: 2.375 kB / 0.8619 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.7526, allocations: 40.42 kB / 0.862 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.7526, allocations: 16.25 kB / 0.862 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003583/0.753, allocations: 305.2 kB / 0.8623 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002592/0.7532, allocations: 217.8 kB / 0.8625 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004543/0.7537, allocations: 338.1 kB / 0.8628 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.7537, allocations: 0 / 0.8628 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000595/0.7543, allocations: 425.2 kB / 0.8632 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.7543, allocations: 5.844 kB / 0.8632 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.7543, allocations: 6.281 kB / 0.8632 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-06/0.7544, allocations: 5.938 kB / 0.8632 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.7546, allocations: 66.11 kB / 0.8633 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.7546, allocations: 2.938 kB / 0.8633 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.755, allocations: 35.23 kB / 0.8633 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.7551, allocations: 11.34 kB / 0.8633 GB, free: 14.97 MB / 0.6544 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.000115/0.7552, allocations: 199.9 kB / 0.8635 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.7553, allocations: 65.02 kB / 0.8636 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/0.7559, allocations: 430.6 kB / 0.864 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.756, allocations: 4.781 kB / 0.864 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.756, allocations: 4.531 kB / 0.864 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005068/0.7565, allocations: 429.8 kB / 0.8644 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.7579, allocations: 1.17 MB / 0.8656 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7579, allocations: 2.719 kB / 0.8656 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.7583, allocations: 86.25 kB / 0.8656 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.7583, allocations: 5 kB / 0.8657 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.7583, allocations: 16.69 kB / 0.8657 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.185e-06/0.7583, allocations: 3 kB / 0.8657 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7583, allocations: 4.188 kB / 0.8657 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.7593, allocations: 0.7243 MB / 0.8664 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.7595, allocations: 181.5 kB / 0.8666 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.7595, allocations: 17.88 kB / 0.8666 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.7599, allocations: 21.28 kB / 0.8666 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.76, allocations: 24.58 kB / 0.8666 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.76, allocations: 16.47 kB / 0.8666 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003474/0.7604, allocations: 366.9 kB / 0.867 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.793e-06/0.7604, allocations: 0 / 0.867 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007914/0.7612, allocations: 330.9 kB / 0.8673 GB, free: 13.69 MB / 0.6544 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.0003519/0.7616, allocations: 187.1 kB / 0.8675 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008102/0.7624, allocations: 0.5174 MB / 0.868 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7624, allocations: 3.719 kB / 0.868 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.7626, allocations: 180.4 kB / 0.8682 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.7641, allocations: 348.3 kB / 0.8685 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.7657, allocations: 1.272 MB / 0.8697 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.7662, allocations: 0.9284 MB / 0.8706 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004569/0.7666, allocations: 186.2 kB / 0.8708 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.7667, allocations: 51.48 kB / 0.8709 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.7667, allocations: 0 / 0.8709 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.01606/0.7828, allocations: 11.8 MB / 0.8824 GB, free: 9.906 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile (rm -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)