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.00772/0.00772, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001479/0.001479, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7824/0.7824, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.91 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1891, allocations: 80.21 MB / 0.6597 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.6909/0.88, allocations: 183.2 MB / 0.8386 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007919/0.888, allocations: 4.875 MB / 0.8433 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.8893, allocations: 30.03 kB / 0.8434 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.8907, allocations: 451.1 kB / 0.8438 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.8945, allocations: 1.462 MB / 0.8452 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.8967, allocations: 0.7827 MB / 0.846 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003338/0.9001, allocations: 1.845 MB / 0.8478 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009415/0.901, allocations: 0.5965 MB / 0.8484 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.9033, allocations: 0.9027 MB / 0.8493 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.9047, allocations: 0.5408 MB / 0.8498 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.9048, allocations: 58.97 kB / 0.8498 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/0.9091, allocations: 1.418 MB / 0.8512 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.9096, allocations: 267 kB / 0.8515 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.9108, allocations: 401.6 kB / 0.8519 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004905/0.9157, allocations: 1.429 MB / 0.8533 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.9157, allocations: 0 / 0.8533 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9157, allocations: 0 / 0.8533 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.14e-05/0.9158, allocations: 3.75 kB / 0.8533 GB, free: 3.07 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.002887/0.9187, allocations: 1.104 MB / 0.8543 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.9187, allocations: 8.094 kB / 0.8544 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.9204, allocations: 207.2 kB / 0.8546 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.9217, allocations: 0.6183 MB / 0.8552 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.9218, allocations: 35.06 kB / 0.8552 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.9219, allocations: 48.17 kB / 0.8552 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.9229, allocations: 499.9 kB / 0.8557 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.9229, allocations: 3.594 kB / 0.8557 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.923, allocations: 22.62 kB / 0.8557 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.923, allocations: 15.56 kB / 0.8557 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/0.9239, allocations: 434.3 kB / 0.8562 GB, free: 2.023 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.00288/0.9268, allocations: 2.013 MB / 0.8581 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.9273, allocations: 342.5 kB / 0.8585 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.9276, allocations: 208.5 kB / 0.8587 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/0.9279, allocations: 194.4 kB / 0.8588 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.928, allocations: 37.53 kB / 0.8589 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.928, allocations: 0.8438 kB / 0.8589 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.001298/0.9293, allocations: 0.5444 MB / 0.8594 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.9293, allocations: 57.61 kB / 0.8595 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00057/0.9299, allocations: 0.5037 MB / 0.86 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.93, allocations: 32.17 kB / 0.86 GB, free: 496 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.9302, allocations: 306.5 kB / 0.8603 GB, free: 356 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.9303, allocations: 116 kB / 0.8604 GB, free: 280 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.9304, allocations: 66.78 kB / 0.8605 GB, free: 264 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9306, allocations: 369.9 kB / 0.8608 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.9308, allocations: 144.6 kB / 0.8609 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.9312, allocations: 227.4 kB / 0.8612 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.9317, allocations: 330.5 kB / 0.8615 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9317, allocations: 0 / 0.8615 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007912/0.9325, allocations: 432.8 kB / 0.8619 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.9326, allocations: 6.125 kB / 0.8619 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9326, allocations: 5.031 kB / 0.8619 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/0.9326, allocations: 2.312 kB / 0.8619 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.933, allocations: 71.27 kB / 0.862 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.933, allocations: 3.156 kB / 0.862 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.9335, allocations: 43.23 kB / 0.862 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.9336, allocations: 15.81 kB / 0.862 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004499/0.9341, allocations: 307.2 kB / 0.8623 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003127/0.9344, allocations: 215.5 kB / 0.8625 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005327/0.9349, allocations: 331.2 kB / 0.8628 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.9349, allocations: 0.8438 kB / 0.8628 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007392/0.9357, allocations: 427.2 kB / 0.8633 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9357, allocations: 11.03 kB / 0.8633 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.9357, allocations: 0 / 0.8633 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.9357, allocations: 3.5 kB / 0.8633 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.936, allocations: 71.92 kB / 0.8633 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.9361, allocations: 8.125 kB / 0.8633 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.9365, allocations: 34.73 kB / 0.8634 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.9366, allocations: 10.12 kB / 0.8634 GB, free: 15.47 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.000171/0.9368, allocations: 200.7 kB / 0.8636 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.9369, allocations: 59.88 kB / 0.8636 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/0.9377, allocations: 435.4 kB / 0.864 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9377, allocations: 2.969 kB / 0.8641 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.9377, allocations: 6.031 kB / 0.8641 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005762/0.9383, allocations: 434.9 kB / 0.8645 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.9401, allocations: 1.165 MB / 0.8656 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9402, allocations: 0 / 0.8656 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.9406, allocations: 89.2 kB / 0.8657 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.9406, allocations: 12.91 kB / 0.8657 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.9406, allocations: 9.844 kB / 0.8657 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.9407, allocations: 2.094 kB / 0.8657 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9407, allocations: 3.5 kB / 0.8657 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.9418, allocations: 0.7242 MB / 0.8664 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.9421, allocations: 180.3 kB / 0.8666 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.83e-05/0.9422, allocations: 10.97 kB / 0.8666 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.9427, allocations: 29.25 kB / 0.8666 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.9428, allocations: 26.61 kB / 0.8667 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.9428, allocations: 11.06 kB / 0.8667 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004354/0.9433, allocations: 364.4 kB / 0.867 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.365e-06/0.9433, allocations: 2.875 kB / 0.867 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001021/0.9443, allocations: 324.2 kB / 0.8673 GB, free: 14.2 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.0005062/0.9448, allocations: 182.4 kB / 0.8675 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009927/0.9458, allocations: 0.5245 MB / 0.868 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.9458, allocations: 0.625 kB / 0.868 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.9461, allocations: 181.5 kB / 0.8682 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.9476, allocations: 353.2 kB / 0.8685 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.9507, allocations: 1.239 MB / 0.8697 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008436/0.9516, allocations: 0.9325 MB / 0.8707 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007136/0.9523, allocations: 185.9 kB / 0.8708 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.9524, allocations: 44.56 kB / 0.8709 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of SimCode: time 6.52e-07/0.9525, allocations: 7.438 kB / 0.8709 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.0219/0.9744, allocations: 11.8 MB / 0.8824 GB, free: 10.44 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)