Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001372/0.001372, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001462/0.001462, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.172 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 1.009/1.009, allocations: 175.7 MB / 480.1 MB, free: 2.82 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 72.19 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1543, allocations: 94.52 MB / 0.7601 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01215/0.1664, allocations: 10.48 MB / 0.7703 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.1715, allocations: 3.267 MB / 0.7735 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000561/0.1721, allocations: 31.88 kB / 0.7735 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.1736, allocations: 0.6219 MB / 0.7741 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.1751, allocations: 0.7817 MB / 0.7749 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1767, allocations: 0.7554 MB / 0.7756 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003156/0.1798, allocations: 2.992 MB / 0.7786 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.1816, allocations: 1.309 MB / 0.7798 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.1832, allocations: 1.262 MB / 0.7811 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.1852, allocations: 1.71 MB / 0.7827 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.1855, allocations: 236 kB / 0.783 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000837/0.1863, allocations: 0.5032 MB / 0.7835 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.1873, allocations: 1.103 MB / 0.7845 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.1884, allocations: 1.113 MB / 0.7856 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.1917, allocations: 3.691 MB / 0.7892 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1917, allocations: 0 / 0.7892 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1917, allocations: 0 / 0.7892 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.491e-05/0.1917, allocations: 0 / 0.7892 GB, free: 2.863 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003562/0.1953, allocations: 2.206 MB / 0.7914 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1953, allocations: 8.031 kB / 0.7914 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003237/0.1956, allocations: 257.2 kB / 0.7916 GB, free: 336 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008386/0.204, allocations: 1.326 MB / 0.7929 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.2059, allocations: 1.306 MB / 0.7942 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/0.206, allocations: 115.3 kB / 0.7943 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.2063, allocations: 148.3 kB / 0.7945 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004835/0.2111, allocations: 3.433 MB / 0.7978 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.2112, allocations: 3.938 kB / 0.7978 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.2114, allocations: 67.97 kB / 0.7979 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002434/0.2116, allocations: 199.1 kB / 0.7981 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004636/0.2163, allocations: 3.127 MB / 0.8011 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.2326, allocations: 13.57 MB / 0.8144 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.235, allocations: 1.614 MB / 0.8159 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.2369, allocations: 1.323 MB / 0.8172 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/0.2369, allocations: 20.94 kB / 0.8173 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.237, allocations: 47.55 kB / 0.8173 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 2.475e-06/0.237, allocations: 3.938 kB / 0.8173 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183): time 0.4462/0.6832, allocations: 36.55 MB / 0.853 GB, free: 70.95 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.6833, allocations: 70.78 kB / 0.8531 GB, free: 70.89 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.6844, allocations: 1.053 MB / 0.8541 GB, free: 70.47 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.6846, allocations: 55.89 kB / 0.8542 GB, free: 70.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.6849, allocations: 0.8138 MB / 0.855 GB, free: 69.88 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/0.6853, allocations: 0.6494 MB / 0.8556 GB, free: 69.39 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006567/0.6859, allocations: 364.6 kB / 0.8559 GB, free: 69.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.112e-05/0.686, allocations: 302.2 kB / 0.8562 GB, free: 68.94 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.6881, allocations: 1.932 MB / 0.8581 GB, free: 68.28 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.6904, allocations: 2.287 MB / 0.8603 GB, free: 66.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004537/0.6949, allocations: 4.386 MB / 0.8646 GB, free: 64.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.6949, allocations: 2.281 kB / 0.8646 GB, free: 64.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01651/0.7115, allocations: 8.879 MB / 0.8733 GB, free: 59.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.7115, allocations: 7.875 kB / 0.8733 GB, free: 59.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.7115, allocations: 11.56 kB / 0.8733 GB, free: 59.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/0.7255, allocations: 4.973 MB / 0.8782 GB, free: 55.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.7262, allocations: 195.7 kB / 0.8784 GB, free: 55.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04162/0.7678, allocations: 38.94 MB / 0.9164 GB, free: 16.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.7697, allocations: 99.89 kB / 0.9165 GB, free: 16.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.7698, allocations: 64 kB / 0.9165 GB, free: 16.02 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009827/0.7708, allocations: 0.8095 MB / 0.9173 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.771, allocations: 147.1 kB / 0.9175 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/0.7873, allocations: 8.738 MB / 0.926 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.7873, allocations: 23.94 kB / 0.926 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/0.7873, allocations: 28 kB / 0.9261 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.7873, allocations: 7.969 kB / 0.9261 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/0.8107, allocations: 13.25 MB / 0.939 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.8107, allocations: 4 kB / 0.939 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.8112, allocations: 115.9 kB / 0.9391 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.016/0.8272, allocations: 4.846 MB / 0.9439 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.8274, allocations: 36.75 kB / 0.9439 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05484/0.8822, allocations: 36.86 MB / 0.9799 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.8822, allocations: 7.938 kB / 0.9799 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0191/0.9013, allocations: 8.445 MB / 0.9881 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.9024, allocations: 0.6405 MB / 0.9888 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.9027, allocations: 43.86 kB / 0.9888 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.9039, allocations: 91.83 kB / 0.9889 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006852/0.9046, allocations: 175.1 kB / 0.9891 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.9047, allocations: 44 kB / 0.9891 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009813/0.9057, allocations: 0.7421 MB / 0.9898 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9057, allocations: 0 / 0.9898 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00279/0.9085, allocations: 1.004 MB / 0.9908 GB, free: 3.148 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01959/0.9281, allocations: 9.047 MB / 0.9996 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.9382, allocations: 5.739 MB / 1.005 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.9382, allocations: 0 / 1.005 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007808/0.946, allocations: 3.778 MB / 1.009 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.9475, allocations: 236 kB / 1.009 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0594/1.007, allocations: 30.84 MB / 1.039 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/1.009, allocations: 1.855 MB / 1.041 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007753/1.01, allocations: 360.3 kB / 1.041 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007731/1.01, allocations: 0.6047 MB / 1.042 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of SimCode: time 1.112e-06/1.01, allocations: 0 / 1.042 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/1.142, allocations: 77.31 MB / 1.118 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.67, allocations: 8 kB / 1.118 GB, free: 0.8828 MB / 0.8262 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.274484879002557]