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.0007994/0.0007993, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008617/0.0008617, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.394/1.394, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7775/0.7775, allocations: 132.3 MB / 424 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 15.98 kB / 0.504 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.4996, allocations: 81.57 MB / 0.5837 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.1966/0.6963, allocations: 166.7 MB / 0.7464 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008442/0.7048, allocations: 4.559 MB / 0.7509 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009325/0.7057, allocations: 31.81 kB / 0.7509 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.7068, allocations: 290.1 kB / 0.7512 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.7098, allocations: 1.022 MB / 0.7522 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.7116, allocations: 0.6054 MB / 0.7528 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.7143, allocations: 2.148 MB / 0.7549 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007422/0.7151, allocations: 448.7 kB / 0.7553 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.7167, allocations: 0.708 MB / 0.756 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.7175, allocations: 0.5252 MB / 0.7565 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.7176, allocations: 28 kB / 0.7565 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.7198, allocations: 0.8691 MB / 0.7574 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.7201, allocations: 223.3 kB / 0.7576 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.7203, allocations: 169.3 kB / 0.7577 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.7216, allocations: 0.9547 MB / 0.7587 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7216, allocations: 0 / 0.7587 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7216, allocations: 7.938 kB / 0.7587 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.7217, allocations: 0 / 0.7587 GB, free: 12.9 MB / 0.5919 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.001456/0.7231, allocations: 0.9734 MB / 0.7596 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.7232, allocations: 8.031 kB / 0.7596 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.7244, allocations: 206.9 kB / 0.7598 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.7252, allocations: 0.5619 MB / 0.7604 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.7253, allocations: 41 kB / 0.7604 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.221e-05/0.7254, allocations: 48 kB / 0.7605 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.7262, allocations: 498.3 kB / 0.7609 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.7263, allocations: 3.938 kB / 0.7609 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.7263, allocations: 20 kB / 0.761 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.7264, allocations: 17 kB / 0.761 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.7271, allocations: 447.7 kB / 0.7614 GB, free: 10.01 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.00254/0.7297, allocations: 2.002 MB / 0.7634 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.7303, allocations: 360.6 kB / 0.7637 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.7306, allocations: 212.6 kB / 0.7639 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.7309, allocations: 194.5 kB / 0.7641 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.7309, allocations: 46.73 kB / 0.7641 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.731, allocations: 0 / 0.7641 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00119/0.7322, allocations: 0.5546 MB / 0.7647 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.7322, allocations: 55.41 kB / 0.7647 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.7328, allocations: 0.4991 MB / 0.7652 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.7328, allocations: 33.7 kB / 0.7653 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.733, allocations: 308.2 kB / 0.7655 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.7332, allocations: 114.3 kB / 0.7657 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.7332, allocations: 12 kB / 0.7657 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7333, allocations: 366.8 kB / 0.766 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.7336, allocations: 136.6 kB / 0.7661 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.7339, allocations: 225.5 kB / 0.7664 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.7343, allocations: 163.9 kB / 0.7665 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7343, allocations: 0 / 0.7665 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007247/0.735, allocations: 437.1 kB / 0.7669 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/0.7351, allocations: 120.5 kB / 0.7671 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7351, allocations: 0 / 0.7671 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7351, allocations: 4 kB / 0.7671 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.7355, allocations: 75.89 kB / 0.7671 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.7355, allocations: 4 kB / 0.7671 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.736, allocations: 59.66 kB / 0.7672 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.7361, allocations: 19.98 kB / 0.7672 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.7361, allocations: 8 kB / 0.7672 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006115/0.7367, allocations: 344.8 kB / 0.7675 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.7367, allocations: 0 / 0.7675 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/0.7367, allocations: 4 kB / 0.7675 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.737, allocations: 72 kB / 0.7676 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.7371, allocations: 3.938 kB / 0.7676 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.7375, allocations: 75.53 kB / 0.7677 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.7375, allocations: 8 kB / 0.7677 GB, free: 3.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003084/0.7378, allocations: 293 kB / 0.768 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.7379, allocations: 59.25 kB / 0.768 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000809/0.7388, allocations: 431.3 kB / 0.7684 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7388, allocations: 3.938 kB / 0.7685 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7388, allocations: 4 kB / 0.7685 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006182/0.7394, allocations: 440.2 kB / 0.7689 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.7412, allocations: 1.183 MB / 0.77 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7412, allocations: 4 kB / 0.77 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.7416, allocations: 83.89 kB / 0.7701 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.7416, allocations: 7.953 kB / 0.7701 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.7417, allocations: 8 kB / 0.7701 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.7417, allocations: 4 kB / 0.7701 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7417, allocations: 192 / 0.7701 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.7428, allocations: 0.7437 MB / 0.7709 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.743, allocations: 176.4 kB / 0.771 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.7431, allocations: 15.94 kB / 0.771 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.7436, allocations: 55.8 kB / 0.7711 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.7436, allocations: 27.97 kB / 0.7711 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.7437, allocations: 8 kB / 0.7711 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004299/0.7441, allocations: 362.8 kB / 0.7715 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7441, allocations: 0 / 0.7715 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008947/0.745, allocations: 315.3 kB / 0.7718 GB, free: 14.89 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004177/0.7454, allocations: 198.9 kB / 0.772 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009942/0.7465, allocations: 0.5307 MB / 0.7725 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7465, allocations: 0 / 0.7725 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.7468, allocations: 190.1 kB / 0.7727 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.7484, allocations: 367.9 kB / 0.773 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.7505, allocations: 1.594 MB / 0.7746 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.751, allocations: 0.9296 MB / 0.7755 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.7512, allocations: 47.44 kB / 0.7755 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of SimCode: time 1.643e-06/0.7512, allocations: 4 kB / 0.7755 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.01505/0.7663, allocations: 9.727 MB / 0.785 GB, free: 1.348 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Delays.Examples.DelayCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Delays.Examples.DelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Delays.Examples.DelayCalcHelperMain.o] Error 1