Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001377/0.001377, allocations: 112.1 kB / 17.96 MB, free: 3.918 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.001368/0.001368, allocations: 193.5 kB / 21.22 MB, free: 0.668 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.433/1.433, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] 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.044/1.044, allocations: 175.7 MB / 480.8 MB, free: 7.859 MB / 382.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.14 kB / 0.6688 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2214, allocations: 94.53 MB / 0.7611 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.3605/0.5819, allocations: 15.31 MB / 0.776 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.5994, allocations: 10.72 MB / 0.7865 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.6009, allocations: 56.94 kB / 0.7866 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004735/0.6057, allocations: 1.751 MB / 0.7883 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005698/0.6114, allocations: 1.86 MB / 0.7901 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.6135, allocations: 0.7629 MB / 0.7908 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004169/0.6177, allocations: 2.746 MB / 0.7935 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.6194, allocations: 1.012 MB / 0.7945 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.6225, allocations: 1.538 MB / 0.796 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.625, allocations: 1.218 MB / 0.7972 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.6253, allocations: 161.1 kB / 0.7974 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.6273, allocations: 0.8118 MB / 0.7981 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007375/0.628, allocations: 0.6145 MB / 0.7987 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.6292, allocations: 0.9573 MB / 0.7997 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004254/0.6335, allocations: 2.774 MB / 0.8024 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6335, allocations: 1.031 kB / 0.8024 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6335, allocations: 0 / 0.8024 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.773e-05/0.6336, allocations: 0 / 0.8024 GB, free: 1.113 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004882/0.6384, allocations: 2.229 MB / 0.8046 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6385, allocations: 13.03 kB / 0.8046 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002941/0.6388, allocations: 198.9 kB / 0.8048 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.6508, allocations: 2.112 MB / 0.8068 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/0.6541, allocations: 1.316 MB / 0.8081 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/0.6542, allocations: 89.23 kB / 0.8082 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.6545, allocations: 125.8 kB / 0.8083 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006468/0.661, allocations: 2.666 MB / 0.8109 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.661, allocations: 13.02 kB / 0.8109 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.6612, allocations: 50.02 kB / 0.811 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007494/0.662, allocations: 194.4 kB / 0.8112 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008542/0.6705, allocations: 2.787 MB / 0.8139 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/0.6889, allocations: 10.5 MB / 0.8241 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006915/0.6958, allocations: 2.257 MB / 0.8263 GB, free: 36 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003553/0.6994, allocations: 1.2 MB / 0.8275 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-05/0.6995, allocations: 13.66 kB / 0.8275 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.6995, allocations: 47.75 kB / 0.8276 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 2.965e-06/0.6995, allocations: 0 / 0.8276 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=153): time 0.06372/0.7633, allocations: 16.45 MB / 0.8436 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.7633, allocations: 72.7 kB / 0.8437 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.7651, allocations: 1.172 MB / 0.8449 GB, free: 36 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002798/0.7654, allocations: 49.78 kB / 0.8449 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006818/0.7661, allocations: 0.7606 MB / 0.8456 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006596/0.7668, allocations: 0.5383 MB / 0.8462 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006117/0.7674, allocations: 291.5 kB / 0.8464 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7675, allocations: 305.1 kB / 0.8467 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/0.7713, allocations: 1.51 MB / 0.8482 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004009/0.7753, allocations: 1.776 MB / 0.8499 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008148/0.7835, allocations: 3.369 MB / 0.8532 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.7835, allocations: 0 / 0.8532 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01448/0.7979, allocations: 5.227 MB / 0.8583 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.798, allocations: 8 kB / 0.8584 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.798, allocations: 4 kB / 0.8584 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007166/0.8052, allocations: 1.876 MB / 0.8602 GB, free: 48 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.8072, allocations: 415.3 kB / 0.8606 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03326/0.8405, allocations: 24.17 MB / 0.8842 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/0.8434, allocations: 304.4 kB / 0.8845 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.8437, allocations: 71.91 kB / 0.8845 GB, free: 6.008 MB / 0.67 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009696/0.8446, allocations: 461.5 kB / 0.885 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.845, allocations: 182.9 kB / 0.8852 GB, free: 5.367 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/0.8594, allocations: 5.246 MB / 0.8903 GB, free: 76 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.8594, allocations: 16 kB / 0.8903 GB, free: 60 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.739e-05/0.8594, allocations: 16 kB / 0.8903 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.8595, allocations: 7.969 kB / 0.8903 GB, free: 36 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/0.8776, allocations: 7.357 MB / 0.8975 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.8776, allocations: 4.469 kB / 0.8975 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.8793, allocations: 355.7 kB / 0.8978 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006519/0.8859, allocations: 1.705 MB / 0.8995 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003026/0.8862, allocations: 51.89 kB / 0.8996 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03192/0.9181, allocations: 23.31 MB / 0.9223 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.9181, allocations: 7.969 kB / 0.9223 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/0.9316, allocations: 4.829 MB / 0.9271 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.933, allocations: 0.4958 MB / 0.9275 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.9333, allocations: 35.95 kB / 0.9276 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/0.9355, allocations: 319.5 kB / 0.9279 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005381/0.9361, allocations: 149 kB / 0.928 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.9362, allocations: 55.97 kB / 0.9281 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001192/0.9374, allocations: 0.7937 MB / 0.9288 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9374, allocations: 0 / 0.9288 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002355/0.9398, allocations: 0.6562 MB / 0.9295 GB, free: 6.562 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01356/0.9533, allocations: 5.413 MB / 0.9348 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01224/0.9656, allocations: 4.913 MB / 0.9396 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.9656, allocations: 0 / 0.9396 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007654/0.9732, allocations: 3.273 MB / 0.9428 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.976, allocations: 0.5476 MB / 0.9433 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05154/1.028, allocations: 21.81 MB / 0.9646 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/1.029, allocations: 1.564 MB / 0.9661 GB, free: 224 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001586/1.031, allocations: 378.4 kB / 0.9665 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009896/1.032, allocations: 0.6593 MB / 0.9671 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of SimCode: time 1.182e-06/1.032, allocations: 0 / 0.9671 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/1.167, allocations: 59.72 MB / 1.025 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.81/21.98, allocations: 0 / 1.025 GB, free: 4.086 MB / 0.8106 GB " [Timeout remaining time 638] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.173628914053552] Failed to read output from testmodel.py, exit status != 0: 22.096192741999403 22.112979149 21.475981454 Calling exit ...