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.006219/0.006219, allocations: 102.2 kB / 15.73 MB, free: 6.488 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.001353/0.001353, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8392/0.8392, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.88 kB / 0.5813 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1919, allocations: 80.21 MB / 0.6597 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.7028/0.8948, allocations: 183.2 MB / 0.8386 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008838/0.9037, allocations: 4.866 MB / 0.8433 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.9054, allocations: 34.94 kB / 0.8434 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.9071, allocations: 452.8 kB / 0.8438 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004781/0.9119, allocations: 1.46 MB / 0.8452 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.9147, allocations: 0.7856 MB / 0.846 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003762/0.9185, allocations: 1.847 MB / 0.8478 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.9196, allocations: 0.5968 MB / 0.8484 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.922, allocations: 0.9034 MB / 0.8493 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.9234, allocations: 0.5455 MB / 0.8498 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.9236, allocations: 59.72 kB / 0.8499 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.927, allocations: 1.414 MB / 0.8512 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003652/0.9274, allocations: 265.8 kB / 0.8515 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006964/0.9281, allocations: 402.8 kB / 0.8519 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.9315, allocations: 1.431 MB / 0.8533 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9315, allocations: 0.875 kB / 0.8533 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9315, allocations: 0 / 0.8533 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.9315, allocations: 0 / 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.00208/0.9336, allocations: 1.104 MB / 0.8543 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.9337, allocations: 11.59 kB / 0.8544 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.9351, allocations: 204 kB / 0.8546 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009953/0.9361, allocations: 0.6236 MB / 0.8552 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.9362, allocations: 35.41 kB / 0.8552 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.9363, allocations: 47.41 kB / 0.8552 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.9372, allocations: 495.3 kB / 0.8557 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.9372, allocations: 0 / 0.8557 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.9373, allocations: 23.89 kB / 0.8557 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.9373, allocations: 17.38 kB / 0.8558 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/0.938, allocations: 435 kB / 0.8562 GB, free: 2.02 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.002411/0.9405, allocations: 1.999 MB / 0.8581 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.941, allocations: 358.1 kB / 0.8585 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.9414, allocations: 206.8 kB / 0.8587 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.9417, allocations: 197.5 kB / 0.8588 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.9417, allocations: 38.22 kB / 0.8589 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 1.744e-06/0.9417, allocations: 0 / 0.8589 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.001212/0.9429, allocations: 0.5417 MB / 0.8594 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.943, allocations: 56.81 kB / 0.8595 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.9435, allocations: 0.5074 MB / 0.86 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.9435, allocations: 31.8 kB / 0.86 GB, free: 496 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.9438, allocations: 304.9 kB / 0.8603 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.864e-05/0.9439, allocations: 119.3 kB / 0.8604 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.944, allocations: 65.98 kB / 0.8605 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9442, allocations: 374.4 kB / 0.8608 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.9445, allocations: 138.3 kB / 0.8609 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.9448, allocations: 227.8 kB / 0.8612 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.9453, allocations: 335.3 kB / 0.8615 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9453, allocations: 0 / 0.8615 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006618/0.946, allocations: 426 kB / 0.8619 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.946, allocations: 5.594 kB / 0.8619 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.946, allocations: 4 kB / 0.8619 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.946, allocations: 4.469 kB / 0.8619 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.9464, allocations: 73.73 kB / 0.862 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.9464, allocations: 2.094 kB / 0.862 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.9469, allocations: 46.5 kB / 0.862 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.947, allocations: 9.062 kB / 0.862 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004328/0.9474, allocations: 306.7 kB / 0.8623 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002763/0.9477, allocations: 218.7 kB / 0.8625 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005047/0.9482, allocations: 337.8 kB / 0.8629 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.9482, allocations: 3.062 kB / 0.8629 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000647/0.9489, allocations: 422.9 kB / 0.8633 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.9489, allocations: 7.188 kB / 0.8633 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-06/0.9489, allocations: 0 / 0.8633 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-06/0.9489, allocations: 4.031 kB / 0.8633 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.9492, allocations: 75.05 kB / 0.8633 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.9492, allocations: 3.219 kB / 0.8633 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.9497, allocations: 30.75 kB / 0.8634 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.9497, allocations: 12.41 kB / 0.8634 GB, free: 15.46 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.0001547/0.9498, allocations: 201.4 kB / 0.8636 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/0.9499, allocations: 57.84 kB / 0.8636 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007314/0.9507, allocations: 435.3 kB / 0.864 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.9507, allocations: 4.453 kB / 0.8641 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9507, allocations: 4.312 kB / 0.8641 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005751/0.9513, allocations: 427.2 kB / 0.8645 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.953, allocations: 1.167 MB / 0.8656 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.953, allocations: 2.469 kB / 0.8656 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.9534, allocations: 87.84 kB / 0.8657 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.9534, allocations: 4 kB / 0.8657 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.449e-05/0.9535, allocations: 12.41 kB / 0.8657 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.9535, allocations: 8.312 kB / 0.8657 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9535, allocations: 4.625 kB / 0.8657 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.9545, allocations: 0.7167 MB / 0.8664 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.9547, allocations: 184 kB / 0.8666 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/0.9548, allocations: 17.34 kB / 0.8666 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.9553, allocations: 25.48 kB / 0.8666 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.9554, allocations: 23.16 kB / 0.8667 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.9554, allocations: 15.09 kB / 0.8667 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004335/0.9558, allocations: 365.5 kB / 0.867 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9558, allocations: 3.188 kB / 0.867 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000899/0.9567, allocations: 317.9 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.0004781/0.9572, allocations: 201.2 kB / 0.8675 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009595/0.9582, allocations: 0.5188 MB / 0.868 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9582, allocations: 0.9688 kB / 0.868 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.9585, allocations: 177.1 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.001589/0.9601, allocations: 360.3 kB / 0.8685 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.9623, allocations: 1.245 MB / 0.8698 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.9629, allocations: 0.9296 MB / 0.8707 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006433/0.9635, allocations: 184.1 kB / 0.8708 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.9637, allocations: 53.09 kB / 0.8709 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.9637, allocations: 0 / 0.8709 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.02253/0.9862, allocations: 11.79 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)