Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001567/0.001567, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001569/0.001569, allocations: 209 kB / 22.99 MB, free: 4.977 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9939/0.9939, allocations: 149.9 MB / 463 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.002084/0.002084, allocations: 67.2 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1763, allocations: 89.18 MB / 0.7282 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4724/0.6487, allocations: 36.39 MB / 0.7637 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02214/0.6709, allocations: 11.11 MB / 0.7746 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004847/0.6757, allocations: 203.4 kB / 0.7748 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.6874, allocations: 4.388 MB / 0.779 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008162/0.6956, allocations: 2.328 MB / 0.7813 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006871/0.7025, allocations: 2.178 MB / 0.7834 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0163/0.7188, allocations: 9.285 MB / 0.7925 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/0.7336, allocations: 6.338 MB / 0.7987 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00997/0.7436, allocations: 4.135 MB / 0.8027 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.7541, allocations: 4.457 MB / 0.8071 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003326/0.7575, allocations: 0.8223 MB / 0.8079 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.7631, allocations: 1.501 MB / 0.8094 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006069/0.7691, allocations: 3.236 MB / 0.8125 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008274/0.7774, allocations: 2.967 MB / 0.8154 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.7947, allocations: 12.42 MB / 0.8275 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7947, allocations: 0 / 0.8275 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7947, allocations: 0 / 0.8275 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003745/0.7951, allocations: 0 / 0.8275 GB, free: 3.371 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01929/0.8144, allocations: 6.393 MB / 0.8338 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8144, allocations: 12.03 kB / 0.8338 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002849/0.8173, allocations: 0.8255 MB / 0.8346 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006502/0.8238, allocations: 1.094 MB / 0.8357 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009668/0.8334, allocations: 3.576 MB / 0.8392 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004445/0.8339, allocations: 429.1 kB / 0.8396 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.8358, allocations: 0.5394 MB / 0.8401 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/0.8565, allocations: 10.28 MB / 0.8501 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.8567, allocations: 27.75 kB / 0.8502 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/0.858, allocations: 248 kB / 0.8504 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006954/0.8587, allocations: 418.9 kB / 0.8508 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.8743, allocations: 7.116 MB / 0.8578 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0492/0.9234, allocations: 26.25 MB / 0.8834 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/0.9287, allocations: 2.902 MB / 0.8862 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/0.9323, allocations: 1.937 MB / 0.8881 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.9325, allocations: 25.98 kB / 0.8881 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.856e-05/0.9326, allocations: 64.5 kB / 0.8882 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=209): time 4.758e-06/0.9326, allocations: 4 kB / 0.8882 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of matching and sorting (n=212): time 0.02703/0.9596, allocations: 10.27 MB / 0.8982 GB, free: 9.691 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.9597, allocations: 81.28 kB / 0.8983 GB, free: 9.602 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.9637, allocations: 2.048 MB / 0.9003 GB, free: 7.535 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/0.9641, allocations: 61.7 kB / 0.9004 GB, free: 7.469 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00216/0.9662, allocations: 2.474 MB / 0.9028 GB, free: 4.969 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.9674, allocations: 0.7707 MB / 0.9035 GB, free: 4.191 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.9686, allocations: 485.5 kB / 0.904 GB, free: 3.711 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.9687, allocations: 305.1 kB / 0.9043 GB, free: 3.41 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/0.9715, allocations: 1.368 MB / 0.9056 GB, free: 2.039 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/0.9745, allocations: 2.11 MB / 0.9077 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/0.9804, allocations: 3.764 MB / 0.9114 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.389e-05/0.9804, allocations: 8 kB / 0.9114 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01019/0.9906, allocations: 5.026 MB / 0.9163 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.9907, allocations: 16 kB / 0.9163 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.475e-05/0.9907, allocations: 24.91 kB / 0.9163 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003898/0.9946, allocations: 1.581 MB / 0.9179 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.9965, allocations: 463.2 kB / 0.9183 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02566/1.022, allocations: 17.9 MB / 0.9358 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/1.025, allocations: 147.9 kB / 0.9359 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000474/1.025, allocations: 108 kB / 0.936 GB, free: 1.812 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004213/1.029, allocations: 1.937 MB / 0.9379 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009384/1.03, allocations: 306.2 kB / 0.9382 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008737/1.039, allocations: 4.4 MB / 0.9425 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/1.039, allocations: 20 kB / 0.9425 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-05/1.039, allocations: 20 kB / 0.9426 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/1.039, allocations: 11.95 kB / 0.9426 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/1.062, allocations: 9.168 MB / 0.9515 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.062, allocations: 4 kB / 0.9515 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.063, allocations: 239.6 kB / 0.9518 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003545/1.066, allocations: 1.423 MB / 0.9531 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/1.066, allocations: 44 kB / 0.9532 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02591/1.092, allocations: 17.9 MB / 0.9707 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.092, allocations: 4 kB / 0.9707 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00903/1.101, allocations: 4.503 MB / 0.9751 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/1.103, allocations: 0.5722 MB / 0.9756 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006655/1.104, allocations: 43.98 kB / 0.9757 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/1.106, allocations: 115.9 kB / 0.9758 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/1.106, allocations: 185.7 kB / 0.976 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.106, allocations: 60 kB / 0.976 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002305/1.109, allocations: 1.319 MB / 0.9773 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.109, allocations: 0 / 0.9773 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003731/1.112, allocations: 1.141 MB / 0.9784 GB, free: 5.664 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008216/1.121, allocations: 5.13 MB / 0.9834 GB, free: 452 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008155/1.129, allocations: 4.543 MB / 0.9879 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/1.129, allocations: 1 kB / 0.9879 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0053/1.134, allocations: 2.811 MB / 0.9906 GB, free: 8.992 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006062/1.14, allocations: 0.8981 MB / 0.9915 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05836/1.199, allocations: 30.56 MB / 1.021 GB, free: 8.367 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005345/1.204, allocations: 3.163 MB / 1.024 GB, free: 5.168 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001883/1.206, allocations: 0.5518 MB / 1.025 GB, free: 4.609 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002425/1.208, allocations: 1.952 MB / 1.027 GB, free: 2.656 MB / 0.795 GB Notification: Performance of SimCode: time 1.102e-06/1.208, allocations: 0 / 1.027 GB, free: 2.656 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5573/1.765, allocations: 90.57 MB / 1.115 GB, free: 273 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/17.05, allocations: 8.781 kB / 1.115 GB, free: 273 MB / 0.8419 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.149945937097073] Failed to read output from testmodel.py, exit status != 0: 17.212257978972048 17.231603077 16.432904535 Calling exit ...