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.001434/0.001434, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001461/0.001461, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.32 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.9798/0.9798, allocations: 175.7 MB / 480.1 MB, free: 2.816 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.001836/0.001836, allocations: 68.05 kB / 0.6678 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1523, allocations: 94.52 MB / 0.7601 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008538/0.1608, allocations: 6.99 MB / 0.7669 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004753/0.1656, allocations: 3.153 MB / 0.77 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/0.166, allocations: 27.81 kB / 0.77 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.1683, allocations: 0.9804 MB / 0.771 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.1694, allocations: 0.5207 MB / 0.7715 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.1704, allocations: 442.1 kB / 0.7719 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.1716, allocations: 1.217 MB / 0.7731 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006501/0.1723, allocations: 486.2 kB / 0.7735 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.1728, allocations: 482.2 kB / 0.774 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006772/0.1735, allocations: 0.5487 MB / 0.7745 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.1736, allocations: 64 kB / 0.7746 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.1742, allocations: 387.2 kB / 0.775 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.1745, allocations: 315.1 kB / 0.7753 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.1749, allocations: 453.7 kB / 0.7757 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.1761, allocations: 1.222 MB / 0.7769 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1761, allocations: 0 / 0.7769 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1761, allocations: 0 / 0.7769 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.1761, allocations: 0 / 0.7769 GB, free: 15.53 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.001708/0.1778, allocations: 1.187 MB / 0.7781 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1779, allocations: 16.02 kB / 0.7781 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.178, allocations: 118.7 kB / 0.7782 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.1794, allocations: 248 kB / 0.7784 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.1802, allocations: 0.5887 MB / 0.779 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.1803, allocations: 49.67 kB / 0.779 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.1804, allocations: 64.36 kB / 0.7791 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.1818, allocations: 1.089 MB / 0.7802 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.1818, allocations: 11.94 kB / 0.7802 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.871e-05/0.1819, allocations: 27.98 kB / 0.7802 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.182, allocations: 85.25 kB / 0.7803 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.1831, allocations: 0.7504 MB / 0.781 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005028/0.1882, allocations: 5.879 MB / 0.7868 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/0.1891, allocations: 0.5163 MB / 0.7873 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.1895, allocations: 286 kB / 0.7875 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.1895, allocations: 8.375 kB / 0.7875 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1896, allocations: 43 kB / 0.7876 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.763e-06/0.1896, allocations: 0 / 0.7876 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.003677/0.1932, allocations: 1.991 MB / 0.7895 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1933, allocations: 59.84 kB / 0.7896 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.1939, allocations: 0.5548 MB / 0.7901 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.1939, allocations: 33.7 kB / 0.7902 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.1942, allocations: 428 kB / 0.7906 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1943, allocations: 174.5 kB / 0.7907 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.1945, allocations: 126.6 kB / 0.7909 GB, free: 448 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1947, allocations: 382.7 kB / 0.7912 GB, free: 56 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.1951, allocations: 273.8 kB / 0.7915 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.1956, allocations: 493 kB / 0.792 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009881/0.1966, allocations: 0.8094 MB / 0.7927 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1966, allocations: 0 / 0.7927 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00173/0.1984, allocations: 1.087 MB / 0.7938 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1984, allocations: 8 kB / 0.7938 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1984, allocations: 8 kB / 0.7938 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/0.1992, allocations: 275.9 kB / 0.7941 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.1996, allocations: 123.8 kB / 0.7942 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006532/0.2062, allocations: 7.143 MB / 0.8012 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.2067, allocations: 39.95 kB / 0.8012 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.2068, allocations: 28 kB / 0.8012 GB, free: 5.008 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.0003168/0.2071, allocations: 253.6 kB / 0.8015 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2072, allocations: 75.53 kB / 0.8016 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.2087, allocations: 0.8807 MB / 0.8024 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2087, allocations: 4 kB / 0.8024 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2087, allocations: 4 kB / 0.8024 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2087, allocations: 7.922 kB / 0.8024 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.2112, allocations: 1.713 MB / 0.8041 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.2112, allocations: 7.938 kB / 0.8041 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.2114, allocations: 67.88 kB / 0.8042 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007217/0.2122, allocations: 263.4 kB / 0.8044 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.2122, allocations: 16 kB / 0.8044 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006347/0.2185, allocations: 7.123 MB / 0.8114 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2185, allocations: 4.031 kB / 0.8114 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.22, allocations: 0.9802 MB / 0.8124 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.2202, allocations: 192.6 kB / 0.8125 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.2203, allocations: 11.94 kB / 0.8126 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.2207, allocations: 31.97 kB / 0.8126 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.2207, allocations: 39.94 kB / 0.8126 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.2208, allocations: 20 kB / 0.8126 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000405/0.2212, allocations: 383.1 kB / 0.813 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.2212, allocations: 0 / 0.813 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000713/0.2219, allocations: 224 kB / 0.8132 GB, free: 7.988 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.001734/0.2236, allocations: 1.541 MB / 0.8147 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.2254, allocations: 1.232 MB / 0.8159 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2255, allocations: 4.062 kB / 0.8159 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.2266, allocations: 0.8735 MB / 0.8168 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.2275, allocations: 221.1 kB / 0.817 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/0.2357, allocations: 6.352 MB / 0.8232 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.2363, allocations: 1.013 MB / 0.8242 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003373/0.2367, allocations: 129.9 kB / 0.8243 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.237, allocations: 251.3 kB / 0.8246 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/0.237, allocations: 0 / 0.8246 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05338/0.2904, allocations: 17.57 MB / 0.8417 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.702/9.992, allocations: 10.67 kB / 0.8417 GB, free: 10.54 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.661173464002786]