Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001315/0.001315, allocations: 100.6 kB / 16.39 MB, free: 6.375 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.001937/0.001937, allocations: 188.7 kB / 19.34 MB, free: 3.844 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.532/1.532, allocations: 222.9 MB / 245 MB, free: 4.324 MB / 190.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.211/1.211, allocations: 173.4 MB / 470.6 MB, free: 6.746 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001977, allocations: 65.22 kB / 0.6478 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1842, allocations: 89.52 MB / 0.7352 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009082/0.1934, allocations: 6.143 MB / 0.7412 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005799/0.1992, allocations: 3.164 MB / 0.7443 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006495/0.1999, allocations: 31.81 kB / 0.7443 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.2027, allocations: 0.9436 MB / 0.7452 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.2044, allocations: 469.5 kB / 0.7457 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.206, allocations: 0.4978 MB / 0.7462 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001879/0.2079, allocations: 1.1 MB / 0.7472 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.2091, allocations: 0.6311 MB / 0.7479 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000939/0.21, allocations: 442.2 kB / 0.7483 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.2111, allocations: 478.2 kB / 0.7487 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.2113, allocations: 56 kB / 0.7488 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.2128, allocations: 487 kB / 0.7492 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005228/0.2133, allocations: 291.2 kB / 0.7495 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008306/0.2142, allocations: 409.8 kB / 0.7499 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.2169, allocations: 1.183 MB / 0.7511 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.217, allocations: 0 / 0.7511 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.67e-06/0.217, allocations: 0 / 0.7511 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.208e-05/0.217, allocations: 3.938 kB / 0.7511 GB, free: 3.898 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002915/0.2199, allocations: 1.078 MB / 0.7521 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.22, allocations: 12.03 kB / 0.7521 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002428/0.2203, allocations: 118.7 kB / 0.7523 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.222, allocations: 224.1 kB / 0.7525 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.2233, allocations: 0.5965 MB / 0.7531 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.2233, allocations: 53.67 kB / 0.7531 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.2235, allocations: 60.31 kB / 0.7532 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.2253, allocations: 1.034 MB / 0.7542 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/0.2254, allocations: 11.89 kB / 0.7542 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/0.2254, allocations: 31.97 kB / 0.7542 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.2256, allocations: 73.27 kB / 0.7543 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2269, allocations: 0.6918 MB / 0.755 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006102/0.233, allocations: 5.734 MB / 0.7606 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.2339, allocations: 0.6036 MB / 0.7611 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008469/0.2348, allocations: 424.6 kB / 0.7615 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.2348, allocations: 4.688 kB / 0.7616 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.2349, allocations: 42.56 kB / 0.7616 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.615e-06/0.2349, allocations: 0 / 0.7616 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.004689/0.2396, allocations: 2.018 MB / 0.7636 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.2397, allocations: 59.34 kB / 0.7636 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.2403, allocations: 470.8 kB / 0.7641 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.2403, allocations: 37.64 kB / 0.7641 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.2407, allocations: 396.1 kB / 0.7645 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.2408, allocations: 162.6 kB / 0.7646 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.241, allocations: 114.3 kB / 0.7647 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.2412, allocations: 362.8 kB / 0.7651 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.2416, allocations: 241.2 kB / 0.7653 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005494/0.2422, allocations: 453 kB / 0.7658 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.2432, allocations: 0.7527 MB / 0.7665 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.2432, allocations: 4 kB / 0.7665 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002038/0.2453, allocations: 1.043 MB / 0.7675 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.2453, allocations: 8 kB / 0.7675 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.2453, allocations: 11.94 kB / 0.7675 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.2464, allocations: 323.3 kB / 0.7678 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.2468, allocations: 99.81 kB / 0.7679 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008324/0.2552, allocations: 7.479 MB / 0.7752 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.2557, allocations: 31.98 kB / 0.7753 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.2558, allocations: 24 kB / 0.7753 GB, free: 9.477 MB / 0.5919 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004145/0.2562, allocations: 245.6 kB / 0.7755 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.2564, allocations: 67.55 kB / 0.7756 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.2582, allocations: 0.8884 MB / 0.7765 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2582, allocations: 4 kB / 0.7765 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.2582, allocations: 4 kB / 0.7765 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2583, allocations: 0 / 0.7765 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.2612, allocations: 1.681 MB / 0.7781 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.2612, allocations: 4.281 kB / 0.7781 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.2614, allocations: 39.91 kB / 0.7782 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009396/0.2623, allocations: 315.2 kB / 0.7785 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.2624, allocations: 8 kB / 0.7785 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008276/0.2707, allocations: 7.474 MB / 0.7858 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/0.2707, allocations: 11.92 kB / 0.7858 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.2725, allocations: 0.9847 MB / 0.7867 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.2728, allocations: 176.7 kB / 0.7869 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.2729, allocations: 16 kB / 0.7869 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.2732, allocations: 27.91 kB / 0.7869 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.2733, allocations: 39.89 kB / 0.787 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.2733, allocations: 8 kB / 0.787 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004149/0.2738, allocations: 314.9 kB / 0.7873 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2738, allocations: 0 / 0.7873 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008149/0.2746, allocations: 196 kB / 0.7875 GB, free: 12.25 MB / 0.6075 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002108/0.2767, allocations: 1.557 MB / 0.789 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.2787, allocations: 1.195 MB / 0.7902 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2788, allocations: 128 / 0.7902 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.2801, allocations: 0.862 MB / 0.791 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.2812, allocations: 189.8 kB / 0.7912 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009248/0.2905, allocations: 5.894 MB / 0.7969 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008187/0.2913, allocations: 0.9998 MB / 0.7979 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.2917, allocations: 97.2 kB / 0.798 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.292, allocations: 227.4 kB / 0.7982 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of SimCode: time 1.843e-06/0.292, allocations: 0 / 0.7982 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/0.3457, allocations: 15.38 MB / 0.8132 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.65, allocations: 8.672 kB / 0.8133 GB, free: 1.594 MB / 0.6231 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.735319909988903] Failed to read output from testmodel.py, exit status != 0: 10.736710155033506 10.751691411 10.531949798 Calling exit ...