Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9813/0.9813, allocations: 175.7 MB / 480.1 MB, free: 2.793 MB / 366.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 70.89 kB / 0.6677 GB, free: 11.05 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1555, allocations: 94.53 MB / 0.76 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004699/0.1602, allocations: 3.167 MB / 0.7631 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.1633, allocations: 1.967 MB / 0.7651 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1634, allocations: 4 kB / 0.7651 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.1643, allocations: 302.8 kB / 0.7654 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004547/0.1648, allocations: 195.1 kB / 0.7655 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.1654, allocations: 246.5 kB / 0.7658 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.1658, allocations: 326.9 kB / 0.7661 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.1661, allocations: 137 kB / 0.7662 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.1663, allocations: 139.5 kB / 0.7664 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.1666, allocations: 155.4 kB / 0.7665 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.1666, allocations: 20 kB / 0.7665 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/0.1672, allocations: 411.2 kB / 0.7669 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1673, allocations: 87.72 kB / 0.767 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1674, allocations: 115.4 kB / 0.7671 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006409/0.1681, allocations: 498.3 kB / 0.7676 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1681, allocations: 0 / 0.7676 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1681, allocations: 0 / 0.7676 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1681, allocations: 0 / 0.7676 GB, free: 9.109 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008504/0.1689, allocations: 0.5685 MB / 0.7681 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.169, allocations: 12.03 kB / 0.7681 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.1691, allocations: 62.66 kB / 0.7682 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007631/0.1698, allocations: 108.7 kB / 0.7683 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1702, allocations: 271.9 kB / 0.7686 GB, free: 8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1702, allocations: 12.81 kB / 0.7686 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.1702, allocations: 16.38 kB / 0.7686 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.1708, allocations: 357.2 kB / 0.7689 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1708, allocations: 0 / 0.7689 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1708, allocations: 16 kB / 0.769 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.199e-05/0.1708, allocations: 20.42 kB / 0.769 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.1713, allocations: 293.5 kB / 0.7693 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.1734, allocations: 1.734 MB / 0.7709 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.1739, allocations: 322.1 kB / 0.7713 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.174, allocations: 101.6 kB / 0.7713 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.1741, allocations: 89.09 kB / 0.7714 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1742, allocations: 34.56 kB / 0.7715 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1742, allocations: 3.938 kB / 0.7715 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002377/0.1765, allocations: 0.9714 MB / 0.7724 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.1766, allocations: 88.98 kB / 0.7725 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.1768, allocations: 211.7 kB / 0.7727 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1769, allocations: 37.73 kB / 0.7727 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.177, allocations: 168.5 kB / 0.7729 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.177, allocations: 83.27 kB / 0.773 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1771, allocations: 69.64 kB / 0.773 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1773, allocations: 326.8 kB / 0.7734 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.1775, allocations: 127.9 kB / 0.7735 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.1777, allocations: 225.7 kB / 0.7737 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.1782, allocations: 360.5 kB / 0.774 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1782, allocations: 0 / 0.774 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008483/0.179, allocations: 0.512 MB / 0.7745 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1791, allocations: 8 kB / 0.7745 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1791, allocations: 0 / 0.7745 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/0.1795, allocations: 155.6 kB / 0.7747 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.1798, allocations: 55.91 kB / 0.7748 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.183, allocations: 4.195 MB / 0.7788 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.1831, allocations: 23.94 kB / 0.7789 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.1832, allocations: 15.94 kB / 0.7789 GB, free: 12.65 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.1833, allocations: 169.8 kB / 0.779 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.1834, allocations: 19.91 kB / 0.7791 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008248/0.1842, allocations: 476 kB / 0.7795 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1842, allocations: 11.94 kB / 0.7795 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1842, allocations: 0 / 0.7795 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1842, allocations: 0 / 0.7795 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.1857, allocations: 0.9939 MB / 0.7805 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1857, allocations: 3.984 kB / 0.7805 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.1859, allocations: 35.92 kB / 0.7805 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003807/0.1862, allocations: 139.5 kB / 0.7807 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.1863, allocations: 11.98 kB / 0.7807 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.1894, allocations: 4.159 MB / 0.7847 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1894, allocations: 8.156 kB / 0.7848 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.1902, allocations: 0.6181 MB / 0.7854 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1903, allocations: 132.8 kB / 0.7855 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1903, allocations: 8 kB / 0.7855 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1906, allocations: 19.98 kB / 0.7855 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1906, allocations: 31.91 kB / 0.7855 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1906, allocations: 12 kB / 0.7856 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00015/0.1908, allocations: 149.5 kB / 0.7857 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1908, allocations: 0 / 0.7857 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004732/0.1912, allocations: 91.92 kB / 0.7858 GB, free: 5.055 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/0.1924, allocations: 1.198 MB / 0.787 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009228/0.1934, allocations: 0.5673 MB / 0.7875 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1934, allocations: 4 kB / 0.7875 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.1939, allocations: 390.3 kB / 0.7879 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.1944, allocations: 52.55 kB / 0.7879 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.1986, allocations: 3.326 MB / 0.7912 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.199, allocations: 0.7792 MB / 0.7919 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.1992, allocations: 58.23 kB / 0.792 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.1993, allocations: 67.42 kB / 0.7921 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.1993, allocations: 0 / 0.7921 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/0.236, allocations: 6.783 MB / 0.7987 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.12, allocations: 6.328 kB / 0.7987 GB, free: 7.617 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.648334975994658]