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.002163/0.002163, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.003187/0.003187, allocations: 219.7 kB / 23 MB, free: 5.004 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.971/0.971, allocations: 150 MB / 463.2 MB, free: 10.52 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.002085/0.002085, allocations: 66.44 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.199, allocations: 89.18 MB / 0.7284 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01925/0.2182, allocations: 15.32 MB / 0.7433 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.2348, allocations: 10.76 MB / 0.7538 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.2363, allocations: 91.19 kB / 0.7539 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004739/0.241, allocations: 1.77 MB / 0.7556 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005582/0.2466, allocations: 1.856 MB / 0.7575 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.2489, allocations: 0.7666 MB / 0.7582 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3533/0.6022, allocations: 2.747 MB / 0.7609 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002714/0.6049, allocations: 1.202 MB / 0.7621 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.6079, allocations: 1.742 MB / 0.7638 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.6095, allocations: 1.115 MB / 0.7648 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.6097, allocations: 148.5 kB / 0.765 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.6112, allocations: 0.7991 MB / 0.7658 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005356/0.6117, allocations: 0.5992 MB / 0.7664 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008257/0.6125, allocations: 0.937 MB / 0.7673 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.6164, allocations: 2.727 MB / 0.7699 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6164, allocations: 1.5 kB / 0.7699 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6164, allocations: 0 / 0.7699 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.164e-05/0.6165, allocations: 0 / 0.7699 GB, free: 10.1 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.004691/0.6212, allocations: 2.136 MB / 0.772 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.6213, allocations: 11.39 kB / 0.772 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003039/0.6216, allocations: 193.3 kB / 0.7722 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.6336, allocations: 2.107 MB / 0.7743 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00362/0.6372, allocations: 1.201 MB / 0.7754 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.6373, allocations: 91.83 kB / 0.7755 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/0.6377, allocations: 114.8 kB / 0.7756 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006919/0.6446, allocations: 2.627 MB / 0.7782 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.667e-05/0.6447, allocations: 12.14 kB / 0.7782 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.6449, allocations: 53.02 kB / 0.7783 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007067/0.6456, allocations: 193.3 kB / 0.7785 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008053/0.6537, allocations: 2.788 MB / 0.7812 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.6673, allocations: 10.31 MB / 0.7912 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005891/0.6731, allocations: 2.165 MB / 0.7934 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.6759, allocations: 1.189 MB / 0.7945 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.01e-05/0.676, allocations: 12.94 kB / 0.7945 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.676, allocations: 41.91 kB / 0.7946 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 2.655e-06/0.676, allocations: 5.219 kB / 0.7946 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=153): time 0.05256/0.7286, allocations: 15 MB / 0.8092 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.7286, allocations: 72.12 kB / 0.8093 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.7299, allocations: 1.031 MB / 0.8103 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.7301, allocations: 53.2 kB / 0.8104 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005855/0.7307, allocations: 0.7711 MB / 0.8111 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005426/0.7312, allocations: 0.5426 MB / 0.8116 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000515/0.7318, allocations: 293.9 kB / 0.8119 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7319, allocations: 308.2 kB / 0.8122 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/0.7351, allocations: 1.455 MB / 0.8136 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00353/0.7387, allocations: 1.797 MB / 0.8154 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007118/0.7458, allocations: 3.355 MB / 0.8187 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.7458, allocations: 4 kB / 0.8187 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01284/0.7586, allocations: 5.011 MB / 0.8236 GB, free: 336 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.7587, allocations: 12 kB / 0.8236 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.7587, allocations: 15.22 kB / 0.8236 GB, free: 312 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005719/0.7644, allocations: 1.665 MB / 0.8252 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.7664, allocations: 434.1 kB / 0.8256 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03072/0.7971, allocations: 22.9 MB / 0.848 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.8001, allocations: 303.5 kB / 0.8483 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/0.8003, allocations: 74.3 kB / 0.8484 GB, free: 6.188 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (88): * Single equations (assignments): 80 * 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%), (3,15,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.001036/0.8013, allocations: 475.6 kB / 0.8488 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.8017, allocations: 174.9 kB / 0.849 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.8146, allocations: 5.047 MB / 0.8539 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.8146, allocations: 16 kB / 0.8539 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.142e-05/0.8147, allocations: 24 kB / 0.8539 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.8147, allocations: 11.97 kB / 0.8539 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.8312, allocations: 7.005 MB / 0.8608 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.8312, allocations: 0 / 0.8608 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.8329, allocations: 352.8 kB / 0.8611 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004839/0.8377, allocations: 1.462 MB / 0.8626 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002137/0.838, allocations: 43.95 kB / 0.8626 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0289/0.8669, allocations: 22.06 MB / 0.8841 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8669, allocations: 8.062 kB / 0.8841 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.8787, allocations: 4.629 MB / 0.8887 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.88, allocations: 394.7 kB / 0.889 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.8803, allocations: 32 kB / 0.8891 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/0.8822, allocations: 299.5 kB / 0.8894 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004864/0.8827, allocations: 160.3 kB / 0.8895 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.8829, allocations: 55.95 kB / 0.8896 GB, free: 11.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009731/0.8838, allocations: 0.6857 MB / 0.8902 GB, free: 10.52 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8838, allocations: 0 / 0.8902 GB, free: 10.52 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002137/0.886, allocations: 0.6211 MB / 0.8908 GB, free: 9.902 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.01192/0.8979, allocations: 5.204 MB / 0.8959 GB, free: 4.688 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01151/0.9094, allocations: 4.84 MB / 0.9006 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.9094, allocations: 4.062 kB / 0.9007 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007344/0.9168, allocations: 3.212 MB / 0.9038 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.9193, allocations: 0.5188 MB / 0.9043 GB, free: 12 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04525/0.9645, allocations: 20.82 MB / 0.9246 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.966, allocations: 1.566 MB / 0.9262 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001514/0.9675, allocations: 375.3 kB / 0.9265 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009364/0.9685, allocations: 0.6515 MB / 0.9272 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of SimCode: time 6.91e-07/0.9685, allocations: 0 / 0.9272 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/1.139, allocations: 56.5 MB / 0.9823 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.55/23.69, allocations: 9.641 kB / 0.9823 GB, free: 12.41 MB / 0.7637 GB " [Timeout remaining time 636] (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: 27.740947726997547] Failed to read output from testmodel.py, exit status != 0: 23.830870278001385 23.855064861 23.23380495 Calling exit ...