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.001327/0.001327, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.001445/0.001445, allocations: 205 kB / 20.09 MB, free: 2.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.594/1.594, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.063/1.063, allocations: 150 MB / 459.5 MB, free: 5.352 MB / 350.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.001877/0.001877, allocations: 69.7 kB / 0.6361 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1963, allocations: 89.12 MB / 0.7232 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01861/0.2149, allocations: 14.97 MB / 0.7378 GB, free: 5.055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.2314, allocations: 10.51 MB / 0.748 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.233, allocations: 95.12 kB / 0.7481 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.2377, allocations: 1.706 MB / 0.7498 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006139/0.2438, allocations: 1.856 MB / 0.7516 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.2463, allocations: 0.7588 MB / 0.7524 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004886/0.2512, allocations: 2.754 MB / 0.755 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.2532, allocations: 1.13 MB / 0.7561 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.2564, allocations: 1.734 MB / 0.7578 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.2582, allocations: 1.113 MB / 0.7589 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.2585, allocations: 152 kB / 0.7591 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.2603, allocations: 0.7955 MB / 0.7598 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007415/0.2611, allocations: 0.6035 MB / 0.7604 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.2623, allocations: 0.9327 MB / 0.7613 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004187/0.2665, allocations: 2.724 MB / 0.764 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2665, allocations: 0 / 0.764 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2665, allocations: 0 / 0.764 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.826e-05/0.2666, allocations: 7.938 kB / 0.764 GB, free: 10.08 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.004584/0.2711, allocations: 2.207 MB / 0.7662 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2712, allocations: 8.031 kB / 0.7662 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002786/0.2715, allocations: 194.4 kB / 0.7664 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.2839, allocations: 2.11 MB / 0.7684 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/0.2873, allocations: 1.297 MB / 0.7697 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.001e-05/0.2874, allocations: 86.69 kB / 0.7698 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/0.2877, allocations: 115.9 kB / 0.7699 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006796/0.2945, allocations: 2.634 MB / 0.7725 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.2946, allocations: 7.938 kB / 0.7725 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.2947, allocations: 51.98 kB / 0.7725 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007333/0.2955, allocations: 194.1 kB / 0.7727 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008522/0.304, allocations: 2.791 MB / 0.7754 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/0.3218, allocations: 10.42 MB / 0.7856 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007315/0.3291, allocations: 2.242 MB / 0.7878 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/0.3327, allocations: 1.183 MB / 0.7889 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.103e-05/0.3328, allocations: 13 kB / 0.789 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.3329, allocations: 43.56 kB / 0.789 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 2.505e-06/0.3329, allocations: 0 / 0.789 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.06211/0.395, allocations: 15.46 MB / 0.8041 GB, free: 0 / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.3951, allocations: 68.72 kB / 0.8042 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.3969, allocations: 1.034 MB / 0.8052 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.3971, allocations: 53.7 kB / 0.8052 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007242/0.3978, allocations: 0.7677 MB / 0.806 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008134/0.3987, allocations: 0.5383 MB / 0.8065 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006635/0.3993, allocations: 299.5 kB / 0.8068 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3995, allocations: 313.1 kB / 0.8071 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/0.4033, allocations: 1.452 MB / 0.8085 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/0.4075, allocations: 1.798 MB / 0.8103 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008347/0.4158, allocations: 3.356 MB / 0.8135 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.4158, allocations: 4 kB / 0.8135 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01458/0.4304, allocations: 5.012 MB / 0.8184 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.4304, allocations: 13.75 kB / 0.8184 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.4305, allocations: 11.94 kB / 0.8185 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006115/0.4366, allocations: 1.658 MB / 0.8201 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/0.4388, allocations: 431.2 kB / 0.8205 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03301/0.4718, allocations: 23.73 MB / 0.8437 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/0.4749, allocations: 303.6 kB / 0.8439 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000425/0.4753, allocations: 75.95 kB / 0.844 GB, free: 5.621 MB / 0.6544 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.001368/0.4767, allocations: 469.4 kB / 0.8445 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006306/0.4773, allocations: 167 kB / 0.8446 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/0.4922, allocations: 5.054 MB / 0.8496 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/0.4922, allocations: 19.98 kB / 0.8496 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.591e-05/0.4923, allocations: 16 kB / 0.8496 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-05/0.4923, allocations: 4.078 kB / 0.8496 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/0.5104, allocations: 7.035 MB / 0.8565 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.5105, allocations: 7.984 kB / 0.8565 GB, free: 8.676 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/0.5124, allocations: 351.3 kB / 0.8568 GB, free: 8.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005109/0.5175, allocations: 1.467 MB / 0.8582 GB, free: 6.844 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.5177, allocations: 43.97 kB / 0.8583 GB, free: 6.801 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4617/0.9794, allocations: 22.87 MB / 0.8806 GB, free: 121.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.9794, allocations: 3.562 kB / 0.8806 GB, free: 121.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.9926, allocations: 4.63 MB / 0.8851 GB, free: 120.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008648/0.9935, allocations: 467.9 kB / 0.8856 GB, free: 120.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.9937, allocations: 35.67 kB / 0.8856 GB, free: 120.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/0.9958, allocations: 305.3 kB / 0.8859 GB, free: 120 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/0.9964, allocations: 149.3 kB / 0.8861 GB, free: 120 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.9966, allocations: 54.59 kB / 0.8861 GB, free: 120 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009493/0.9975, allocations: 0.6817 MB / 0.8868 GB, free: 119.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.9975, allocations: 0 / 0.8868 GB, free: 119.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002492/1, allocations: 0.6257 MB / 0.8874 GB, free: 119.6 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.01142/1.011, allocations: 5.212 MB / 0.8925 GB, free: 117.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01059/1.022, allocations: 4.845 MB / 0.8972 GB, free: 115.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.022, allocations: 0 / 0.8972 GB, free: 115.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006973/1.029, allocations: 3.207 MB / 0.9003 GB, free: 113.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.031, allocations: 0.5167 MB / 0.9008 GB, free: 113.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03933/1.071, allocations: 20.81 MB / 0.9212 GB, free: 93.28 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.072, allocations: 1.567 MB / 0.9227 GB, free: 91.68 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001268/1.073, allocations: 376.9 kB / 0.9231 GB, free: 91.32 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/1.074, allocations: 0.6498 MB / 0.9237 GB, free: 90.67 MB / 0.67 GB Notification: Performance of SimCode: time 1.112e-06/1.074, allocations: 0 / 0.9237 GB, free: 90.67 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/1.19, allocations: 54.93 MB / 0.9773 GB, free: 36.35 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.32/22.51, allocations: 11.11 kB / 0.9773 GB, free: 36.34 MB / 0.67 GB " [Timeout remaining time 637] (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: 26.93288699607365] Failed to read output from testmodel.py, exit status != 0: 22.62080452288501 22.631791489 22.362790419 Calling exit ...