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.0009167/0.0009168, allocations: 98.56 kB / 16.02 MB, free: 76 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.0008261/0.0008261, allocations: 187.9 kB / 16.92 MB, free: 6.75 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.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9048/0.9048, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 13.7 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 82.31 MB / 0.5886 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.4437/0.5861, allocations: 178.6 MB / 0.763 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007995/0.5941, allocations: 4.866 MB / 0.7678 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.5953, allocations: 27.81 kB / 0.7678 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.5966, allocations: 370.1 kB / 0.7682 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.6004, allocations: 1.32 MB / 0.7694 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.6027, allocations: 0.7057 MB / 0.7701 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.6057, allocations: 2.524 MB / 0.7726 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008899/0.6066, allocations: 0.4947 MB / 0.7731 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.6085, allocations: 0.7702 MB / 0.7738 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.6099, allocations: 0.5423 MB / 0.7744 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.6101, allocations: 28 kB / 0.7744 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.6131, allocations: 1.601 MB / 0.776 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003731/0.6135, allocations: 227.3 kB / 0.7762 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006483/0.6142, allocations: 391.7 kB / 0.7765 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.6158, allocations: 1.017 MB / 0.7775 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6158, allocations: 0 / 0.7775 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6158, allocations: 0 / 0.7775 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.6158, allocations: 4 kB / 0.7775 GB, free: 10.99 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.00184/0.6177, allocations: 0.9615 MB / 0.7785 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.6177, allocations: 16.03 kB / 0.7785 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.6192, allocations: 206.8 kB / 0.7787 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.6203, allocations: 0.581 MB / 0.7793 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.6204, allocations: 41 kB / 0.7793 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6205, allocations: 48 kB / 0.7793 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009747/0.6215, allocations: 498.3 kB / 0.7798 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.6215, allocations: 0 / 0.7798 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.6216, allocations: 23.94 kB / 0.7798 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.6216, allocations: 24.88 kB / 0.7799 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.6224, allocations: 447.7 kB / 0.7803 GB, free: 8.078 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.002848/0.6253, allocations: 2.006 MB / 0.7823 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.6259, allocations: 358 kB / 0.7826 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.6263, allocations: 212.6 kB / 0.7828 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.6266, allocations: 194.5 kB / 0.783 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.6266, allocations: 38.84 kB / 0.783 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/0.6266, allocations: 0 / 0.783 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001356/0.628, allocations: 0.5697 MB / 0.7836 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.628, allocations: 55.41 kB / 0.7836 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006341/0.6287, allocations: 0.5068 MB / 0.7841 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.6287, allocations: 33.7 kB / 0.7842 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.629, allocations: 304.2 kB / 0.7844 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.6291, allocations: 114.3 kB / 0.7846 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.6292, allocations: 33.7 kB / 0.7846 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6293, allocations: 370.8 kB / 0.7849 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.6296, allocations: 140.6 kB / 0.7851 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.63, allocations: 224.9 kB / 0.7853 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.6306, allocations: 340.2 kB / 0.7856 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6306, allocations: 0 / 0.7856 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007975/0.6314, allocations: 437.8 kB / 0.786 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.6315, allocations: 124 kB / 0.7862 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6315, allocations: 0 / 0.7862 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6315, allocations: 8.625 kB / 0.7862 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.6319, allocations: 79.89 kB / 0.7862 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6319, allocations: 4 kB / 0.7862 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.6325, allocations: 62 kB / 0.7863 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.6325, allocations: 15.98 kB / 0.7863 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.6326, allocations: 4 kB / 0.7863 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000658/0.6332, allocations: 356.6 kB / 0.7867 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.6332, allocations: 96 / 0.7867 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/0.6332, allocations: 8 kB / 0.7867 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.6336, allocations: 67.91 kB / 0.7867 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6336, allocations: 0 / 0.7867 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.6341, allocations: 71.58 kB / 0.7868 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.6342, allocations: 12 kB / 0.7868 GB, free: 1.074 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.0003502/0.6345, allocations: 293.7 kB / 0.7871 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.6346, allocations: 55.34 kB / 0.7871 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008129/0.6355, allocations: 435.8 kB / 0.7876 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6355, allocations: 4 kB / 0.7876 GB, free: 292 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6355, allocations: 7.875 kB / 0.7876 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006391/0.6361, allocations: 444.3 kB / 0.788 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.638, allocations: 1.187 MB / 0.7892 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.638, allocations: 0 / 0.7892 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.6384, allocations: 87.89 kB / 0.7892 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.6385, allocations: 4 kB / 0.7892 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.6385, allocations: 8.188 kB / 0.7892 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.6385, allocations: 8 kB / 0.7893 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6385, allocations: 0 / 0.7893 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.6396, allocations: 0.7391 MB / 0.79 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.6399, allocations: 180.3 kB / 0.7901 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.888e-05/0.64, allocations: 15.98 kB / 0.7902 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/0.6405, allocations: 47.89 kB / 0.7902 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.6406, allocations: 27.97 kB / 0.7902 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.6407, allocations: 15.94 kB / 0.7903 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004288/0.6411, allocations: 366.8 kB / 0.7906 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.442e-06/0.6411, allocations: 0 / 0.7906 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008749/0.642, allocations: 327.2 kB / 0.7909 GB, free: 12.7 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 (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.0004768/0.6425, allocations: 185.1 kB / 0.7911 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.6435, allocations: 0.5347 MB / 0.7916 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6435, allocations: 4.375 kB / 0.7916 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.6439, allocations: 184.7 kB / 0.7918 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.6459, allocations: 365.5 kB / 0.7921 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.6481, allocations: 1.591 MB / 0.7937 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.6487, allocations: 0.9256 MB / 0.7946 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.6488, allocations: 59.42 kB / 0.7947 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.6488, allocations: 4 kB / 0.7947 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of Templates: time 0.01495/0.6638, allocations: 9.72 MB / 0.8042 GB, free: 15.17 MB / 0.6231 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)