Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001407/0.001407, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001639/0.001639, allocations: 211.8 kB / 22.99 MB, free: 4.609 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9889/0.9889, allocations: 149.9 MB / 463.1 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002157/0.002157, allocations: 67.84 kB / 0.6411 GB, free: 10.05 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1754, allocations: 89.18 MB / 0.7282 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01987/0.1953, allocations: 13.91 MB / 0.7418 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.2143, allocations: 9.975 MB / 0.7515 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.2161, allocations: 91.19 kB / 0.7516 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005342/0.2214, allocations: 1.684 MB / 0.7532 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006074/0.2275, allocations: 1.859 MB / 0.755 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.2298, allocations: 0.7551 MB / 0.7558 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004699/0.2345, allocations: 2.758 MB / 0.7585 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.2366, allocations: 1.18 MB / 0.7596 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3696/0.6062, allocations: 1.723 MB / 0.7613 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.6079, allocations: 1.04 MB / 0.7623 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000345/0.6083, allocations: 156.2 kB / 0.7625 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.6098, allocations: 0.7188 MB / 0.7632 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005678/0.6104, allocations: 0.6187 MB / 0.7638 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009107/0.6113, allocations: 0.7673 MB / 0.7645 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003603/0.6149, allocations: 2.766 MB / 0.7672 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.6149, allocations: 1.094 kB / 0.7672 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.806e-06/0.6149, allocations: 1.094 kB / 0.7672 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.049e-05/0.6149, allocations: 0 / 0.7672 GB, free: 11.12 MB / 0.5762 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.004256/0.6192, allocations: 2.15 MB / 0.7693 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.6192, allocations: 10.16 kB / 0.7693 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002435/0.6195, allocations: 196.5 kB / 0.7695 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.6317, allocations: 2.114 MB / 0.7716 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.6351, allocations: 1.193 MB / 0.7728 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.6352, allocations: 90.56 kB / 0.7728 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/0.6356, allocations: 117.4 kB / 0.773 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/0.6421, allocations: 2.886 MB / 0.7758 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.677e-05/0.6421, allocations: 7.312 kB / 0.7758 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.6423, allocations: 52.66 kB / 0.7758 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000718/0.643, allocations: 192.1 kB / 0.776 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008594/0.6516, allocations: 2.79 MB / 0.7787 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.6659, allocations: 8.329 MB / 0.7869 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006365/0.6722, allocations: 2.175 MB / 0.789 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.6753, allocations: 1.197 MB / 0.7902 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.557e-05/0.6753, allocations: 16.25 kB / 0.7902 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.6754, allocations: 41.72 kB / 0.7902 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 3.446e-06/0.6754, allocations: 0 / 0.7902 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=153): time 0.06037/0.7357, allocations: 16.01 MB / 0.8059 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.7358, allocations: 72.28 kB / 0.8059 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.7384, allocations: 1.182 MB / 0.8071 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004236/0.7388, allocations: 53.2 kB / 0.8071 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007417/0.7395, allocations: 0.7581 MB / 0.8079 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008221/0.7404, allocations: 0.5413 MB / 0.8084 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006941/0.7411, allocations: 290 kB / 0.8087 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7412, allocations: 305.1 kB / 0.809 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003742/0.7449, allocations: 1.507 MB / 0.8104 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003907/0.7489, allocations: 1.784 MB / 0.8122 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007726/0.7566, allocations: 3.367 MB / 0.8155 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.7566, allocations: 2.344 kB / 0.8155 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01515/0.7717, allocations: 5.208 MB / 0.8206 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.7718, allocations: 8 kB / 0.8206 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.7718, allocations: 9.328 kB / 0.8206 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007399/0.7792, allocations: 1.885 MB / 0.8224 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.7813, allocations: 410.5 kB / 0.8228 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03317/0.8145, allocations: 23.07 MB / 0.8453 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/0.8176, allocations: 307.6 kB / 0.8456 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/0.8178, allocations: 69.38 kB / 0.8457 GB, free: 10.08 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 (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.001063/0.8189, allocations: 467.8 kB / 0.8461 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.8193, allocations: 182.9 kB / 0.8463 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.8339, allocations: 5.249 MB / 0.8514 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.8339, allocations: 18.62 kB / 0.8514 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.635e-05/0.8339, allocations: 23.98 kB / 0.8515 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.834, allocations: 3.984 kB / 0.8515 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/0.8523, allocations: 6.967 MB / 0.8583 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.8523, allocations: 4 kB / 0.8583 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.8541, allocations: 353.2 kB / 0.8586 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006491/0.8606, allocations: 1.709 MB / 0.8603 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002136/0.8608, allocations: 43.91 kB / 0.8603 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03144/0.8923, allocations: 22.22 MB / 0.882 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.8923, allocations: 4 kB / 0.882 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/0.9059, allocations: 4.827 MB / 0.8868 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/0.9077, allocations: 422.5 kB / 0.8872 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003866/0.9081, allocations: 32 kB / 0.8872 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002351/0.9104, allocations: 315.5 kB / 0.8875 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005998/0.911, allocations: 166.6 kB / 0.8876 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.9112, allocations: 55.97 kB / 0.8877 GB, free: 14.28 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001186/0.9124, allocations: 0.7938 MB / 0.8885 GB, free: 13.49 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.9124, allocations: 0 / 0.8885 GB, free: 13.49 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00229/0.9146, allocations: 0.6562 MB / 0.8891 GB, free: 12.83 MB / 0.67 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.9282, allocations: 5.41 MB / 0.8944 GB, free: 7.406 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01244/0.9406, allocations: 4.923 MB / 0.8992 GB, free: 2.422 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.9407, allocations: 0 / 0.8992 GB, free: 2.422 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007979/0.9486, allocations: 3.273 MB / 0.9024 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/0.9516, allocations: 0.5577 MB / 0.9029 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05209/1.004, allocations: 21.78 MB / 0.9242 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/1.005, allocations: 0.9843 MB / 0.9252 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001781/1.007, allocations: 384.4 kB / 0.9255 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.008, allocations: 0.6554 MB / 0.9262 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of SimCode: time 8.42e-07/1.008, allocations: 0 / 0.9262 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1474/1.155, allocations: 63.82 MB / 0.9885 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/15.03, allocations: 7.797 kB / 0.9885 GB, free: 7.562 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.101286850869656] Failed to read output from testmodel.py, exit status != 0: 15.181806322652847 15.198837034 14.58047131 Calling exit ...