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.001191/0.001191, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01042/0.01042, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 12 kB / 0.5076 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1894, allocations: 82.32 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5817/0.7712, allocations: 178.6 MB / 0.7624 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009478/0.7807, allocations: 4.871 MB / 0.7671 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.7823, allocations: 23.81 kB / 0.7672 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.7838, allocations: 370 kB / 0.7675 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.7885, allocations: 1.327 MB / 0.7688 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.7911, allocations: 0.6996 MB / 0.7695 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004061/0.7951, allocations: 2.524 MB / 0.772 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.7963, allocations: 0.4978 MB / 0.7724 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.7986, allocations: 0.7702 MB / 0.7732 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.8001, allocations: 0.535 MB / 0.7737 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.8002, allocations: 24 kB / 0.7737 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00364/0.8039, allocations: 1.605 MB / 0.7753 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.8043, allocations: 231.2 kB / 0.7755 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.8049, allocations: 383.8 kB / 0.7759 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.8077, allocations: 1.449 MB / 0.7773 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8077, allocations: 0 / 0.7773 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.687e-06/0.8077, allocations: 3.984 kB / 0.7773 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.8077, allocations: 0 / 0.7773 GB, free: 10.61 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.001906/0.8096, allocations: 0.9638 MB / 0.7783 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.8097, allocations: 8.031 kB / 0.7783 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.811, allocations: 214.8 kB / 0.7785 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009232/0.812, allocations: 0.581 MB / 0.779 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.812, allocations: 38.25 kB / 0.7791 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.8121, allocations: 48 kB / 0.7791 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.8131, allocations: 0.4945 MB / 0.7796 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.8131, allocations: 0 / 0.7796 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.8132, allocations: 20 kB / 0.7796 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.8132, allocations: 32.8 kB / 0.7796 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007939/0.814, allocations: 443.7 kB / 0.7801 GB, free: 7.695 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.002816/0.8168, allocations: 2.009 MB / 0.782 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.8174, allocations: 353.7 kB / 0.7824 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.8178, allocations: 217.3 kB / 0.7826 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.8181, allocations: 190.5 kB / 0.7828 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.8182, allocations: 38.84 kB / 0.7828 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.8182, allocations: 0 / 0.7828 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001302/0.8195, allocations: 0.5619 MB / 0.7833 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.8195, allocations: 59.41 kB / 0.7834 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.8201, allocations: 0.5068 MB / 0.7839 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.8202, allocations: 33.7 kB / 0.7839 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.8204, allocations: 304.2 kB / 0.7842 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.8206, allocations: 114.2 kB / 0.7843 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.8206, allocations: 37.7 kB / 0.7844 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.8208, allocations: 362.8 kB / 0.7847 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.8211, allocations: 144.6 kB / 0.7848 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.8215, allocations: 224.9 kB / 0.7851 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.8221, allocations: 340.1 kB / 0.7854 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8221, allocations: 0 / 0.7854 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007882/0.8229, allocations: 437.9 kB / 0.7858 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.823, allocations: 128 kB / 0.7859 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.823, allocations: 0.875 kB / 0.7859 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.823, allocations: 4 kB / 0.7859 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.8234, allocations: 75.89 kB / 0.786 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8234, allocations: 7.938 kB / 0.786 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.8241, allocations: 55.66 kB / 0.7861 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.8241, allocations: 19.98 kB / 0.7861 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.8241, allocations: 4 kB / 0.7861 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006403/0.8248, allocations: 355.4 kB / 0.7864 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8248, allocations: 4 kB / 0.7864 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.8248, allocations: 0 / 0.7864 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.8251, allocations: 67.91 kB / 0.7865 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8252, allocations: 8.094 kB / 0.7865 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.8257, allocations: 70.39 kB / 0.7866 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.8258, allocations: 16 kB / 0.7866 GB, free: 0.6914 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.0003722/0.8262, allocations: 285.7 kB / 0.7869 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.8263, allocations: 59.34 kB / 0.7869 GB, free: 352 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000873/0.8271, allocations: 439.1 kB / 0.7873 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.8272, allocations: 4 kB / 0.7873 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.8272, allocations: 3.938 kB / 0.7873 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006623/0.8278, allocations: 444.2 kB / 0.7878 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.83, allocations: 1.187 MB / 0.7889 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.83, allocations: 4 kB / 0.7889 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.8305, allocations: 87.89 kB / 0.789 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.8305, allocations: 4 kB / 0.789 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.8305, allocations: 11.98 kB / 0.789 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.8306, allocations: 8.562 kB / 0.789 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8306, allocations: 0 / 0.789 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.8318, allocations: 0.7354 MB / 0.7898 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.8321, allocations: 184.3 kB / 0.7899 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.8322, allocations: 8 kB / 0.7899 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.8328, allocations: 55.83 kB / 0.79 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.8329, allocations: 19.97 kB / 0.79 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.8329, allocations: 16 kB / 0.79 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000521/0.8335, allocations: 374.7 kB / 0.7904 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8335, allocations: 0 / 0.7904 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001071/0.8345, allocations: 319.2 kB / 0.7907 GB, free: 12.32 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.0006178/0.8352, allocations: 191.3 kB / 0.7909 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.8363, allocations: 0.531 MB / 0.7914 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8363, allocations: 0 / 0.7914 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.8367, allocations: 193.3 kB / 0.7916 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.839, allocations: 364 kB / 0.7919 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.8423, allocations: 1.551 MB / 0.7934 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/0.843, allocations: 0.9335 MB / 0.7943 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000816/0.8438, allocations: 177.3 kB / 0.7945 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.844, allocations: 55.42 kB / 0.7946 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of SimCode: time 1.352e-06/0.844, allocations: 0 / 0.7946 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of Templates: time 0.02688/0.8709, allocations: 11.32 MB / 0.8056 GB, free: 13.16 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)