Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 102.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.336/1.336, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002321/0.002321, allocations: 282.5 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 180.9 MB / 0.5333 GB, free: 13.82 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 105.5 kB / 0.7343 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1455, allocations: 95.35 MB / 0.8274 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008028/0.1535, allocations: 6.236 MB / 0.8335 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004981/0.1585, allocations: 3.246 MB / 0.8366 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.1589, allocations: 47.56 kB / 0.8367 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.1613, allocations: 0.9376 MB / 0.8376 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.1624, allocations: 497.5 kB / 0.8381 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1636, allocations: 0.4978 MB / 0.8386 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.165, allocations: 1.104 MB / 0.8396 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008476/0.1658, allocations: 0.5103 MB / 0.8401 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007182/0.1666, allocations: 458.4 kB / 0.8406 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007286/0.1673, allocations: 0.4942 MB / 0.841 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1674, allocations: 60 kB / 0.8411 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.1683, allocations: 0.4911 MB / 0.8416 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.1686, allocations: 287.2 kB / 0.8419 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.1691, allocations: 405.9 kB / 0.8422 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.1705, allocations: 1.183 MB / 0.8434 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1705, allocations: 0 / 0.8434 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1705, allocations: 4 kB / 0.8434 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.1706, allocations: 0 / 0.8434 GB, free: 9.414 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001571/0.1721, allocations: 1.078 MB / 0.8445 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1722, allocations: 8.031 kB / 0.8445 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.1723, allocations: 130.6 kB / 0.8446 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.1737, allocations: 220.2 kB / 0.8448 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/0.1746, allocations: 0.5965 MB / 0.8454 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.1746, allocations: 45.67 kB / 0.8454 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1747, allocations: 64.33 kB / 0.8455 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.1761, allocations: 1.041 MB / 0.8465 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.1762, allocations: 7.938 kB / 0.8465 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.1762, allocations: 31.98 kB / 0.8465 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-05/0.1763, allocations: 69.27 kB / 0.8466 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.1774, allocations: 0.6956 MB / 0.8473 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/0.1824, allocations: 5.745 MB / 0.8529 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.1832, allocations: 0.5548 MB / 0.8534 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.184, allocations: 388.6 kB / 0.8538 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.184, allocations: 4 kB / 0.8538 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.184, allocations: 38.56 kB / 0.8539 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.553e-06/0.184, allocations: 0 / 0.8539 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.0042/0.1882, allocations: 2.016 MB / 0.8558 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1883, allocations: 55.41 kB / 0.8559 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.1887, allocations: 466.8 kB / 0.8563 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1888, allocations: 33.7 kB / 0.8563 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.189, allocations: 392.1 kB / 0.8567 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.1892, allocations: 158.6 kB / 0.8569 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.1893, allocations: 118.2 kB / 0.857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1895, allocations: 362.8 kB / 0.8573 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.1898, allocations: 241.2 kB / 0.8576 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.1903, allocations: 461 kB / 0.858 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009169/0.1912, allocations: 0.7525 MB / 0.8587 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1913, allocations: 4 kB / 0.8587 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00181/0.1931, allocations: 1.019 MB / 0.8597 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1931, allocations: 14.73 kB / 0.8598 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.1931, allocations: 11.94 kB / 0.8598 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.1941, allocations: 319.1 kB / 0.8601 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.1944, allocations: 95.81 kB / 0.8602 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007596/0.202, allocations: 7.495 MB / 0.8675 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.2024, allocations: 27.98 kB / 0.8675 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.2025, allocations: 24 kB / 0.8675 GB, free: 15.09 MB / 0.6231 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.0003291/0.2028, allocations: 245.5 kB / 0.8678 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.2029, allocations: 71.55 kB / 0.8678 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.2046, allocations: 0.8806 MB / 0.8687 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2047, allocations: 4 kB / 0.8687 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.2047, allocations: 4 kB / 0.8687 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2047, allocations: 0 / 0.8687 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.2073, allocations: 1.673 MB / 0.8703 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.2073, allocations: 4 kB / 0.8703 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2075, allocations: 35.97 kB / 0.8704 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009211/0.2084, allocations: 311.1 kB / 0.8707 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.2085, allocations: 8 kB / 0.8707 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007245/0.2157, allocations: 7.468 MB / 0.878 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.2157, allocations: 11.97 kB / 0.878 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.2173, allocations: 0.9835 MB / 0.8789 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.2176, allocations: 180.7 kB / 0.8791 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.2177, allocations: 8 kB / 0.8791 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.2179, allocations: 23.91 kB / 0.8791 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.218, allocations: 39.95 kB / 0.8792 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.2181, allocations: 19.94 kB / 0.8792 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003316/0.2184, allocations: 310.9 kB / 0.8795 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2184, allocations: 0 / 0.8795 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007247/0.2191, allocations: 196 kB / 0.8797 GB, free: 1.883 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 (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.001918/0.221, allocations: 1.526 MB / 0.8812 GB, free: 304 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.2229, allocations: 1.164 MB / 0.8823 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2229, allocations: 0 / 0.8823 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.2241, allocations: 0.8308 MB / 0.8831 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009204/0.225, allocations: 209.9 kB / 0.8833 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007848/0.2328, allocations: 5.867 MB / 0.889 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.2335, allocations: 0.9921 MB / 0.89 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.2337, allocations: 97.19 kB / 0.8901 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.234, allocations: 227.4 kB / 0.8903 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of SimCode: time 9.51e-07/0.234, allocations: 0 / 0.8903 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/0.2843, allocations: 15.54 MB / 0.9055 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.523/9.807, allocations: 15.5 kB / 0.9055 GB, free: 7.25 MB / 0.6544 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.618591987993568] Failed to read output from testmodel.py, exit status != 0: 9.900255362968892 9.9135124 9.740344338 Calling exit ...