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.0009955/0.0009957, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001269/0.001269, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9804/0.9804, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005627/0.0005631, allocations: 11.94 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1871, allocations: 82.31 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5497/0.7369, allocations: 166.6 MB / 0.7501 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008304/0.7452, allocations: 4.571 MB / 0.7546 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009569/0.7462, allocations: 23.88 kB / 0.7546 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.7472, allocations: 287.9 kB / 0.7549 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.7506, allocations: 1.025 MB / 0.7559 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.7527, allocations: 0.606 MB / 0.7564 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002851/0.7556, allocations: 2.135 MB / 0.7585 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007429/0.7563, allocations: 454.2 kB / 0.759 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.758, allocations: 0.7079 MB / 0.7597 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007715/0.7588, allocations: 0.5213 MB / 0.7602 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.7589, allocations: 28 kB / 0.7602 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.7609, allocations: 0.873 MB / 0.761 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.7612, allocations: 227.2 kB / 0.7613 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.7614, allocations: 165.3 kB / 0.7614 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.7626, allocations: 0.9587 MB / 0.7624 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7626, allocations: 0 / 0.7624 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7626, allocations: 0 / 0.7624 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.7627, allocations: 0 / 0.7624 GB, free: 9.84 MB / 0.5762 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.001557/0.7642, allocations: 0.977 MB / 0.7633 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.7643, allocations: 11.97 kB / 0.7633 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.7655, allocations: 210.9 kB / 0.7635 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.7664, allocations: 0.558 MB / 0.7641 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.7665, allocations: 40.95 kB / 0.7641 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.7666, allocations: 44 kB / 0.7641 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000879/0.7675, allocations: 0.4944 MB / 0.7646 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.7675, allocations: 0 / 0.7646 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.7675, allocations: 27.98 kB / 0.7647 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.7676, allocations: 13 kB / 0.7647 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.7684, allocations: 443.7 kB / 0.7651 GB, free: 6.945 MB / 0.5762 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.002743/0.7711, allocations: 2.002 MB / 0.767 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.7717, allocations: 339.6 kB / 0.7674 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.772, allocations: 223.5 kB / 0.7676 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.7723, allocations: 194.5 kB / 0.7678 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.7724, allocations: 42.78 kB / 0.7678 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.7724, allocations: 7.938 kB / 0.7678 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001249/0.7736, allocations: 0.5571 MB / 0.7684 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.7737, allocations: 55.41 kB / 0.7684 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.7742, allocations: 0.4991 MB / 0.7689 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.7743, allocations: 37.7 kB / 0.7689 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.7745, allocations: 300.2 kB / 0.7692 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.7747, allocations: 114.3 kB / 0.7693 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.7747, allocations: 8 kB / 0.7693 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.7749, allocations: 362.8 kB / 0.7697 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.7751, allocations: 140.6 kB / 0.7698 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.7755, allocations: 224.9 kB / 0.77 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.7758, allocations: 163.9 kB / 0.7702 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7758, allocations: 0 / 0.7702 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007031/0.7765, allocations: 433.5 kB / 0.7706 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.48e-05/0.7766, allocations: 124.1 kB / 0.7707 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7766, allocations: 0 / 0.7707 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.7766, allocations: 4 kB / 0.7707 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.777, allocations: 71.89 kB / 0.7708 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.777, allocations: 4 kB / 0.7708 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.7775, allocations: 63.64 kB / 0.7709 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.7776, allocations: 13.25 kB / 0.7709 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.7776, allocations: 6.344 kB / 0.7709 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006159/0.7782, allocations: 356.9 kB / 0.7712 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.7782, allocations: 0 / 0.7712 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/0.7782, allocations: 4 kB / 0.7712 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.7785, allocations: 71.91 kB / 0.7713 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7785, allocations: 4 kB / 0.7713 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.779, allocations: 62.55 kB / 0.7714 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.779, allocations: 16 kB / 0.7714 GB, free: 204 kB / 0.5762 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.0003565/0.7794, allocations: 293 kB / 0.7717 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.7795, allocations: 63.23 kB / 0.7717 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008033/0.7803, allocations: 433.6 kB / 0.7721 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.7803, allocations: 4 kB / 0.7721 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.7803, allocations: 4.875 kB / 0.7721 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006331/0.7809, allocations: 444.2 kB / 0.7726 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.7828, allocations: 1.175 MB / 0.7737 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7828, allocations: 4.188 kB / 0.7737 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.7833, allocations: 91.89 kB / 0.7738 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.7833, allocations: 7.938 kB / 0.7738 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.7833, allocations: 14.45 kB / 0.7738 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.7833, allocations: 7.984 kB / 0.7738 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7833, allocations: 0 / 0.7738 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.7844, allocations: 0.7385 MB / 0.7745 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.7846, allocations: 180.4 kB / 0.7747 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.7847, allocations: 8 kB / 0.7747 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.7852, allocations: 59.75 kB / 0.7748 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.7852, allocations: 19.97 kB / 0.7748 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.7853, allocations: 12 kB / 0.7748 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004237/0.7857, allocations: 362.8 kB / 0.7752 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7857, allocations: 4 kB / 0.7752 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008845/0.7866, allocations: 323.3 kB / 0.7755 GB, free: 11.83 MB / 0.5919 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.0004709/0.7871, allocations: 186.3 kB / 0.7756 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.7881, allocations: 0.5199 MB / 0.7762 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7881, allocations: 4 kB / 0.7762 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.7884, allocations: 181.3 kB / 0.7763 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.7901, allocations: 384.9 kB / 0.7767 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.7923, allocations: 1.548 MB / 0.7782 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.7929, allocations: 0.9373 MB / 0.7791 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000687/0.7936, allocations: 188.9 kB / 0.7793 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.7937, allocations: 47.44 kB / 0.7794 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of SimCode: time 1.422e-06/0.7937, allocations: 0 / 0.7794 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of Templates: time 0.02068/0.8144, allocations: 10.96 MB / 0.7901 GB, free: 13.01 MB / 0.6075 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)