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.001734/0.001734, allocations: 103.4 kB / 16.41 MB, free: 6.508 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.001915/0.001915, allocations: 184.2 kB / 17.34 MB, free: 5.738 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8506/0.8506, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.45 kB / 0.5863 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1669, allocations: 80.92 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.6117/0.7786, allocations: 183.7 MB / 0.8448 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00909/0.7877, allocations: 4.888 MB / 0.8495 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.7891, allocations: 29.66 kB / 0.8496 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.7906, allocations: 453 kB / 0.85 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.795, allocations: 1.462 MB / 0.8514 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.7973, allocations: 0.7794 MB / 0.8522 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003056/0.8004, allocations: 1.847 MB / 0.854 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.8015, allocations: 0.5092 MB / 0.8545 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.8038, allocations: 0.8921 MB / 0.8553 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.8053, allocations: 0.5528 MB / 0.8559 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.8055, allocations: 58.5 kB / 0.8559 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.8086, allocations: 1.413 MB / 0.8573 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004391/0.8091, allocations: 270.8 kB / 0.8576 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000801/0.8099, allocations: 401 kB / 0.858 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.813, allocations: 1.441 MB / 0.8594 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.813, allocations: 0 / 0.8594 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.904e-06/0.813, allocations: 0 / 0.8594 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.24e-05/0.8131, allocations: 0 / 0.8594 GB, free: 8.258 MB / 0.6231 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.002438/0.8155, allocations: 1.128 MB / 0.8605 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.8156, allocations: 9.109 kB / 0.8605 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.8171, allocations: 219.2 kB / 0.8607 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.8184, allocations: 0.6128 MB / 0.8613 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.8184, allocations: 37 kB / 0.8613 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.8185, allocations: 51.94 kB / 0.8614 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.8195, allocations: 0.4906 MB / 0.8619 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.8195, allocations: 0 / 0.8619 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.8196, allocations: 19.98 kB / 0.8619 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.8196, allocations: 24.88 kB / 0.8619 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.8205, allocations: 431.7 kB / 0.8623 GB, free: 5.414 MB / 0.6231 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.003319/0.8238, allocations: 2.006 MB / 0.8643 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.8244, allocations: 326.2 kB / 0.8646 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.8248, allocations: 193.3 kB / 0.8648 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/0.8251, allocations: 198.4 kB / 0.8649 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.8252, allocations: 42.84 kB / 0.865 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.063e-06/0.8252, allocations: 0 / 0.865 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001387/0.8266, allocations: 0.5451 MB / 0.8655 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.8266, allocations: 59.34 kB / 0.8656 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.8273, allocations: 0.5147 MB / 0.8661 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.8274, allocations: 33.7 kB / 0.8661 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.8276, allocations: 300.6 kB / 0.8664 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.8278, allocations: 126.9 kB / 0.8665 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.8279, allocations: 62.03 kB / 0.8666 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.8281, allocations: 370.8 kB / 0.8669 GB, free: 400 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.8284, allocations: 142 kB / 0.8671 GB, free: 256 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.8288, allocations: 220.5 kB / 0.8673 GB, free: 8 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.8294, allocations: 347.5 kB / 0.8676 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8294, allocations: 0 / 0.8676 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000827/0.8302, allocations: 424.8 kB / 0.868 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.8302, allocations: 7.938 kB / 0.868 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8303, allocations: 4 kB / 0.868 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.8303, allocations: 4.031 kB / 0.868 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.8306, allocations: 79.89 kB / 0.8681 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.8307, allocations: 4 kB / 0.8681 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.8312, allocations: 36.52 kB / 0.8681 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.8312, allocations: 12 kB / 0.8682 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004983/0.8317, allocations: 308 kB / 0.8685 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003601/0.8321, allocations: 224.2 kB / 0.8687 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006026/0.8327, allocations: 335.1 kB / 0.869 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.8327, allocations: 0 / 0.869 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007999/0.8335, allocations: 425.1 kB / 0.8694 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8335, allocations: 8 kB / 0.8694 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.8335, allocations: 0 / 0.8694 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.8335, allocations: 4 kB / 0.8694 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.8338, allocations: 72.84 kB / 0.8695 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8338, allocations: 4.094 kB / 0.8695 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.8343, allocations: 35.86 kB / 0.8695 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.8344, allocations: 12 kB / 0.8695 GB, free: 13.64 MB / 0.6387 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.0001812/0.8345, allocations: 200.1 kB / 0.8697 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.8347, allocations: 67.58 kB / 0.8698 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008832/0.8356, allocations: 426.8 kB / 0.8702 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.8356, allocations: 8 kB / 0.8702 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8356, allocations: 0 / 0.8702 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006629/0.8362, allocations: 432.5 kB / 0.8706 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.8382, allocations: 1.171 MB / 0.8717 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.8382, allocations: 4 kB / 0.8718 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.8387, allocations: 91.88 kB / 0.8718 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.8387, allocations: 3.938 kB / 0.8718 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.8387, allocations: 8 kB / 0.8718 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.8387, allocations: 7.938 kB / 0.8719 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8387, allocations: 8.188 kB / 0.8719 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.8399, allocations: 0.723 MB / 0.8726 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.8402, allocations: 180.7 kB / 0.8727 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/0.8403, allocations: 11.94 kB / 0.8728 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.8407, allocations: 27.97 kB / 0.8728 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.8408, allocations: 23.91 kB / 0.8728 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.8409, allocations: 16 kB / 0.8728 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004597/0.8413, allocations: 366.8 kB / 0.8732 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.8413, allocations: 0 / 0.8732 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009382/0.8422, allocations: 331.3 kB / 0.8735 GB, free: 9.414 MB / 0.6387 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.0005266/0.8428, allocations: 183.9 kB / 0.8737 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.8439, allocations: 0.4917 MB / 0.8741 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.8439, allocations: 0 / 0.8741 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.8442, allocations: 167.8 kB / 0.8743 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.8458, allocations: 353.4 kB / 0.8746 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.8482, allocations: 1.311 MB / 0.8759 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006719/0.8489, allocations: 0.9256 MB / 0.8768 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.849, allocations: 59.42 kB / 0.8769 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.849, allocations: 0 / 0.8769 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of Templates: time 0.0175/0.8665, allocations: 9.821 MB / 0.8865 GB, free: 12.11 MB / 0.6544 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)