Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001076/0.001076, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.00133/0.00133, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8581/0.8581, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001452/0.001452, allocations: 240.7 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6803/0.6803, allocations: 138.4 MB / 454.3 MB, free: 1.668 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.964e-05, allocations: 6.219 kB / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009362/0.009382, allocations: 13.71 MB / 0.6597 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008714/0.0181, allocations: 9.827 MB / 0.6693 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.01925, allocations: 79.31 kB / 0.6694 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.02109, allocations: 1.701 MB / 0.671 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.02469, allocations: 1.906 MB / 0.6729 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.02593, allocations: 0.7702 MB / 0.6736 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002219/0.02815, allocations: 2.843 MB / 0.6764 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.02918, allocations: 1.188 MB / 0.6776 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.03073, allocations: 2 MB / 0.6795 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000959/0.03169, allocations: 0.9816 MB / 0.6805 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.03182, allocations: 164 kB / 0.6806 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.03284, allocations: 0.7365 MB / 0.6814 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.03323, allocations: 0.6464 MB / 0.682 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.03372, allocations: 0.6429 MB / 0.6826 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.03564, allocations: 2.8 MB / 0.6854 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.03565, allocations: 0 / 0.6854 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.853e-06/0.03565, allocations: 4 kB / 0.6854 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.03567, allocations: 3.938 kB / 0.6854 GB, free: 9.598 MB / 0.5261 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.002216/0.03788, allocations: 2.131 MB / 0.6874 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.03793, allocations: 8.75 kB / 0.6875 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.0381, allocations: 198.3 kB / 0.6876 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005594/0.04369, allocations: 2.121 MB / 0.6897 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.0455, allocations: 1.236 MB / 0.6909 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.04555, allocations: 94.67 kB / 0.691 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.04573, allocations: 108.4 kB / 0.6911 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/0.04962, allocations: 3.085 MB / 0.6941 GB, free: 284 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.04966, allocations: 11.89 kB / 0.6941 GB, free: 272 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.04977, allocations: 51.98 kB / 0.6942 GB, free: 220 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003775/0.05015, allocations: 194.1 kB / 0.6944 GB, free: 24 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004553/0.0547, allocations: 2.783 MB / 0.6971 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.065, allocations: 8.332 MB / 0.7052 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.06846, allocations: 2.171 MB / 0.7074 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.0701, allocations: 1.206 MB / 0.7085 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.245e-05/0.07016, allocations: 9 kB / 0.7085 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.07019, allocations: 43.56 kB / 0.7086 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=89): time 2.875e-06/0.07019, allocations: 0 / 0.7086 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of matching and sorting (n=153): time 0.02896/0.09915, allocations: 16.01 MB / 0.7242 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.09919, allocations: 72.66 kB / 0.7243 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.1003, allocations: 1.191 MB / 0.7254 GB, free: 15.94 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.1004, allocations: 49.7 kB / 0.7255 GB, free: 15.88 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.1007, allocations: 0.7529 MB / 0.7262 GB, free: 15.12 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.1011, allocations: 0.5266 MB / 0.7267 GB, free: 14.59 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003463/0.1014, allocations: 291.4 kB / 0.727 GB, free: 14.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.1015, allocations: 309.1 kB / 0.7273 GB, free: 14 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.1034, allocations: 1.507 MB / 0.7288 GB, free: 12.49 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.1054, allocations: 1.784 MB / 0.7305 GB, free: 10.61 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004007/0.1094, allocations: 3.369 MB / 0.7338 GB, free: 7.145 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1094, allocations: 4 kB / 0.7338 GB, free: 7.141 MB / 0.573 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007235/0.1166, allocations: 5.215 MB / 0.7389 GB, free: 1.887 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1166, allocations: 12 kB / 0.7389 GB, free: 1.875 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.1166, allocations: 4 kB / 0.7389 GB, free: 1.871 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003477/0.1201, allocations: 1.867 MB / 0.7408 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000964/0.1211, allocations: 415.2 kB / 0.7411 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/0.1387, allocations: 23.06 MB / 0.7637 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.1402, allocations: 303.5 kB / 0.764 GB, free: 7.309 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.681e-05/0.1403, allocations: 71.91 kB / 0.764 GB, free: 7.238 MB / 0.6042 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.000657/0.1409, allocations: 469.8 kB / 0.7645 GB, free: 6.773 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1411, allocations: 186.8 kB / 0.7647 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007134/0.1482, allocations: 5.253 MB / 0.7698 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1483, allocations: 12.47 kB / 0.7698 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-05/0.1483, allocations: 20 kB / 0.7698 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.1483, allocations: 7.969 kB / 0.7698 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009241/0.1575, allocations: 6.966 MB / 0.7766 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1575, allocations: 0 / 0.7766 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/0.1583, allocations: 355.3 kB / 0.777 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/0.1614, allocations: 1.697 MB / 0.7786 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.493e-05/0.1615, allocations: 39.97 kB / 0.7787 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.1789, allocations: 22.23 MB / 0.8004 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1789, allocations: 4 kB / 0.8004 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007206/0.1861, allocations: 4.822 MB / 0.8051 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007734/0.1869, allocations: 422.6 kB / 0.8055 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.187, allocations: 35.92 kB / 0.8055 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.188, allocations: 315.5 kB / 0.8058 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000426/0.1885, allocations: 160.9 kB / 0.806 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.1886, allocations: 55.97 kB / 0.806 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007739/0.1893, allocations: 0.7899 MB / 0.8068 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1893, allocations: 0 / 0.8068 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001472/0.1908, allocations: 0.6639 MB / 0.8074 GB, free: 9.582 MB / 0.6511 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.00703/0.1978, allocations: 5.401 MB / 0.8127 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00659/0.2044, allocations: 4.918 MB / 0.8175 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.2044, allocations: 0 / 0.8175 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003981/0.2084, allocations: 3.269 MB / 0.8207 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.2101, allocations: 0.5672 MB / 0.8213 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/0.2393, allocations: 21.82 MB / 0.8426 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008625/0.2402, allocations: 0.9843 MB / 0.8435 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000967/0.2412, allocations: 378.4 kB / 0.8439 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.2418, allocations: 0.6604 MB / 0.8445 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of SimCode: time 1.362e-06/0.2418, allocations: 0 / 0.8445 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3294/0.5711, allocations: 63.87 MB / 0.9069 GB, free: 174.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.766, allocations: 6.688 kB / 0.9069 GB, free: 174.5 MB / 0.698 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.620161117985845] Failed to read output from testmodel.py, exit status != 0: 8.876125467009842 8.882842433 8.845605218 Calling exit ...