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.00123/0.00123, allocations: 105.6 kB / 16.45 MB, free: 6.453 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.001351/0.001351, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.328/1.328, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] 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.002316/0.002316, allocations: 288.8 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.136/1.136, allocations: 180.9 MB / 0.5333 GB, free: 13.83 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.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: 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.002654/0.002654, allocations: 104.1 kB / 0.7343 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.145, allocations: 95.34 MB / 0.8274 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01706/0.1621, allocations: 14.99 MB / 0.842 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.015/0.1771, allocations: 10.5 MB / 0.8522 GB, free: 312 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.1782, allocations: 79.25 kB / 0.8523 GB, free: 232 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.1823, allocations: 1.696 MB / 0.854 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.1868, allocations: 1.861 MB / 0.8558 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.1886, allocations: 0.7627 MB / 0.8565 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003522/0.1921, allocations: 2.754 MB / 0.8592 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.1936, allocations: 1.13 MB / 0.8603 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.1956, allocations: 1.562 MB / 0.8619 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.1972, allocations: 1.222 MB / 0.8631 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002257/0.1974, allocations: 160 kB / 0.8632 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.1988, allocations: 0.8071 MB / 0.864 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.1994, allocations: 0.6152 MB / 0.8646 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009296/0.2003, allocations: 0.96 MB / 0.8655 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.2034, allocations: 2.775 MB / 0.8682 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2034, allocations: 0 / 0.8682 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2034, allocations: 4 kB / 0.8682 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.912e-05/0.2035, allocations: 0 / 0.8682 GB, free: 15.85 MB / 0.6231 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.004581/0.2081, allocations: 2.223 MB / 0.8704 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2082, allocations: 8.625 kB / 0.8704 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002346/0.2084, allocations: 202.3 kB / 0.8706 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.22, allocations: 2.117 MB / 0.8727 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.2228, allocations: 1.316 MB / 0.874 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.2228, allocations: 94.61 kB / 0.8741 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.2231, allocations: 115.9 kB / 0.8742 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005704/0.2288, allocations: 2.667 MB / 0.8768 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.2288, allocations: 15.89 kB / 0.8768 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.229, allocations: 51.98 kB / 0.8768 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006727/0.2297, allocations: 194.1 kB / 0.877 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007602/0.2373, allocations: 2.787 MB / 0.8797 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.2522, allocations: 10.48 MB / 0.89 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006737/0.2589, allocations: 2.258 MB / 0.8922 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00315/0.2621, allocations: 1.202 MB / 0.8934 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.521e-05/0.2621, allocations: 9 kB / 0.8934 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.2622, allocations: 47.5 kB / 0.8934 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.735e-06/0.2622, allocations: 0 / 0.8934 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.05839/0.3206, allocations: 16.45 MB / 0.9095 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.3206, allocations: 76.66 kB / 0.9096 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.3223, allocations: 1.176 MB / 0.9107 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002216/0.3225, allocations: 49.7 kB / 0.9108 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.3231, allocations: 0.7646 MB / 0.9115 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005642/0.3236, allocations: 0.5344 MB / 0.912 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005745/0.3242, allocations: 287.5 kB / 0.9123 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3243, allocations: 305.1 kB / 0.9126 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0036/0.3279, allocations: 1.51 MB / 0.9141 GB, free: 15.81 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/0.3317, allocations: 1.784 MB / 0.9158 GB, free: 13.93 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007413/0.3391, allocations: 3.365 MB / 0.9191 GB, free: 10.47 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3391, allocations: 0 / 0.9191 GB, free: 10.47 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01349/0.3526, allocations: 5.215 MB / 0.9242 GB, free: 5.219 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3526, allocations: 11.94 kB / 0.9242 GB, free: 5.207 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.3526, allocations: 8 kB / 0.9242 GB, free: 5.199 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00688/0.3595, allocations: 1.877 MB / 0.926 GB, free: 3.301 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.3615, allocations: 415.3 kB / 0.9264 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03061/0.3921, allocations: 24.16 MB / 0.95 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.3947, allocations: 303.5 kB / 0.9503 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.3949, allocations: 68.09 kB / 0.9504 GB, free: 9.254 MB / 0.7012 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.0008462/0.3957, allocations: 469.5 kB / 0.9508 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.396, allocations: 182.9 kB / 0.951 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.4101, allocations: 5.253 MB / 0.9561 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/0.4102, allocations: 12 kB / 0.9561 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-05/0.4102, allocations: 20 kB / 0.9562 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.4102, allocations: 7.969 kB / 0.9562 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.4273, allocations: 7.36 MB / 0.9634 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.4274, allocations: 4 kB / 0.9634 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.429, allocations: 351.7 kB / 0.9637 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005997/0.435, allocations: 1.708 MB / 0.9654 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.4352, allocations: 51.89 kB / 0.9654 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02889/0.4641, allocations: 23.3 MB / 0.9882 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.4641, allocations: 7.938 kB / 0.9882 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3377/0.8018, allocations: 4.828 MB / 0.9929 GB, free: 148.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/0.8027, allocations: 0.492 MB / 0.9934 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.803, allocations: 27.78 kB / 0.9934 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002175/0.8051, allocations: 320.2 kB / 0.9937 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004856/0.8056, allocations: 151.3 kB / 0.9939 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.8058, allocations: 54.97 kB / 0.9939 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009049/0.8067, allocations: 0.7931 MB / 0.9947 GB, free: 148.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8067, allocations: 0 / 0.9947 GB, free: 148.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001654/0.8083, allocations: 0.6539 MB / 0.9953 GB, free: 148.7 MB / 0.7325 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.01172/0.82, allocations: 5.416 MB / 1.001 GB, free: 147.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01063/0.8307, allocations: 4.92 MB / 1.005 GB, free: 146.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.8307, allocations: 1.75 kB / 1.005 GB, free: 146.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00594/0.8366, allocations: 3.286 MB / 1.009 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.8388, allocations: 0.5676 MB / 1.009 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03693/0.8757, allocations: 21.76 MB / 1.03 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008403/0.8765, allocations: 1.566 MB / 1.032 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001231/0.8778, allocations: 387.8 kB / 1.032 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006746/0.8784, allocations: 0.6554 MB / 1.033 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of SimCode: time 7.51e-07/0.8784, allocations: 0 / 1.033 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0971/0.9755, allocations: 59.19 MB / 1.091 GB, free: 71.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.51/19.48, allocations: 6.562 kB / 1.091 GB, free: 71.3 MB / 0.7325 GB " [Timeout remaining time 640] (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: 23.34179037064314] Failed to read output from testmodel.py, exit status != 0: 19.601568711921573 19.609864003 19.404486838 Calling exit ...