Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001175/0.001175, allocations: 106.8 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.001395/0.001395, 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.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.238 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.9681/0.9681, allocations: 175.7 MB / 480.1 MB, free: 2.855 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.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 67.23 kB / 0.6678 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1534, allocations: 94.54 MB / 0.7601 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008495/0.1619, allocations: 6.977 MB / 0.7669 GB, free: 9.914 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004582/0.1665, allocations: 3.16 MB / 0.77 GB, free: 6.742 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.1668, allocations: 31.75 kB / 0.77 GB, free: 6.711 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.1691, allocations: 0.9874 MB / 0.771 GB, free: 5.723 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.1702, allocations: 0.5129 MB / 0.7715 GB, free: 5.207 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009745/0.1712, allocations: 430.2 kB / 0.7719 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.1726, allocations: 1.224 MB / 0.7731 GB, free: 3.559 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.1734, allocations: 482.2 kB / 0.7735 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007849/0.1742, allocations: 482.2 kB / 0.774 GB, free: 2.605 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007235/0.1749, allocations: 0.5526 MB / 0.7745 GB, free: 2.051 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 9.114e-05/0.175, allocations: 68 kB / 0.7746 GB, free: 1.984 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005875/0.1756, allocations: 391.2 kB / 0.775 GB, free: 1.602 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.1759, allocations: 319 kB / 0.7753 GB, free: 1.289 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.1763, allocations: 449.7 kB / 0.7757 GB, free: 0.8477 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.1775, allocations: 1.226 MB / 0.7769 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1775, allocations: 4 kB / 0.7769 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1775, allocations: 0 / 0.7769 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.1775, allocations: 0 / 0.7769 GB, free: 15.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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00172/0.1792, allocations: 1.179 MB / 0.7781 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1792, allocations: 8.031 kB / 0.7781 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.1794, allocations: 126.7 kB / 0.7782 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.1808, allocations: 244.1 kB / 0.7784 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008189/0.1816, allocations: 0.5964 MB / 0.779 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.1817, allocations: 49.69 kB / 0.779 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.776e-05/0.1818, allocations: 60.36 kB / 0.7791 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.1832, allocations: 1.089 MB / 0.7802 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.1832, allocations: 7.938 kB / 0.7802 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/0.1832, allocations: 28 kB / 0.7802 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/0.1834, allocations: 85.25 kB / 0.7803 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.1845, allocations: 0.7465 MB / 0.781 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005109/0.1896, allocations: 5.882 MB / 0.7868 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009027/0.1905, allocations: 0.5062 MB / 0.7873 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.1909, allocations: 294 kB / 0.7875 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1909, allocations: 8.438 kB / 0.7875 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.191, allocations: 42.94 kB / 0.7876 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.563e-06/0.191, allocations: 0 / 0.7876 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.003617/0.1946, allocations: 1.987 MB / 0.7895 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1946, allocations: 55.84 kB / 0.7896 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.1952, allocations: 0.5548 MB / 0.7901 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.1952, allocations: 33.7 kB / 0.7901 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.1955, allocations: 428 kB / 0.7906 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.1956, allocations: 178.5 kB / 0.7907 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1958, allocations: 130.6 kB / 0.7909 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.196, allocations: 374.7 kB / 0.7912 GB, free: 168 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.1964, allocations: 277.9 kB / 0.7915 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.1969, allocations: 493 kB / 0.7919 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000994/0.1979, allocations: 0.8093 MB / 0.7927 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1979, allocations: 4 kB / 0.7927 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001725/0.1997, allocations: 1.079 MB / 0.7938 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1997, allocations: 11.98 kB / 0.7938 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1997, allocations: 8 kB / 0.7938 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/0.2005, allocations: 279.7 kB / 0.7941 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.201, allocations: 127.7 kB / 0.7942 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.2075, allocations: 7.14 MB / 0.8012 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.208, allocations: 35.97 kB / 0.8012 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.208, allocations: 31.98 kB / 0.8012 GB, free: 5.109 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003281/0.2084, allocations: 257.8 kB / 0.8015 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2085, allocations: 75.53 kB / 0.8016 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.21, allocations: 0.8806 MB / 0.8024 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.21, allocations: 8 kB / 0.8024 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.21, allocations: 0 / 0.8024 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.21, allocations: 4 kB / 0.8024 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.2125, allocations: 1.713 MB / 0.8041 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2125, allocations: 3.938 kB / 0.8041 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.2127, allocations: 59.89 kB / 0.8042 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007128/0.2134, allocations: 275.4 kB / 0.8044 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.2134, allocations: 4 kB / 0.8044 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006435/0.2199, allocations: 7.13 MB / 0.8114 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2199, allocations: 0 / 0.8114 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.2213, allocations: 0.9841 MB / 0.8124 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.2216, allocations: 196.6 kB / 0.8125 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.2217, allocations: 11.94 kB / 0.8126 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.222, allocations: 27.97 kB / 0.8126 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.2221, allocations: 39.94 kB / 0.8126 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.2221, allocations: 16 kB / 0.8126 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004243/0.2226, allocations: 387.1 kB / 0.813 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.2226, allocations: 0 / 0.813 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000721/0.2233, allocations: 228 kB / 0.8132 GB, free: 8.09 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001753/0.225, allocations: 1.54 MB / 0.8147 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.2269, allocations: 1.228 MB / 0.8159 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2269, allocations: 0 / 0.8159 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.2281, allocations: 0.8774 MB / 0.8168 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009239/0.229, allocations: 224.8 kB / 0.817 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007995/0.237, allocations: 6.357 MB / 0.8232 GB, free: 13.37 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.2377, allocations: 1.009 MB / 0.8242 GB, free: 12.33 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0003188/0.238, allocations: 122 kB / 0.8243 GB, free: 12.21 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.2383, allocations: 255.3 kB / 0.8245 GB, free: 11.96 MB / 0.6388 GB Notification: Performance of SimCode: time 4.91e-07/0.2383, allocations: 0 / 0.8245 GB, free: 11.96 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/0.2918, allocations: 17.57 MB / 0.8417 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.666/9.958, allocations: 15.94 kB / 0.8417 GB, free: 10.64 MB / 0.6544 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.692898608001997]