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.001382/0.001382, allocations: 105 kB / 20.48 MB, free: 1.488 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.001512/0.001512, allocations: 214.2 kB / 23.79 MB, free: 4.703 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.549/1.549, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.9633/0.9633, allocations: 150 MB / 464 MB, free: 10.45 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",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.002039/0.002039, allocations: 66.11 kB / 0.642 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2254, allocations: 89.17 MB / 0.7291 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02049/0.2459, allocations: 15.31 MB / 0.7441 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.2641, allocations: 10.75 MB / 0.7546 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.2661, allocations: 83.25 kB / 0.7547 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005165/0.2712, allocations: 1.773 MB / 0.7564 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006753/0.278, allocations: 1.865 MB / 0.7582 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.2806, allocations: 0.7588 MB / 0.759 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4765/0.7571, allocations: 2.756 MB / 0.7616 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.7592, allocations: 1.203 MB / 0.7628 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.7616, allocations: 1.557 MB / 0.7643 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.7639, allocations: 1.226 MB / 0.7655 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.7643, allocations: 161.7 kB / 0.7657 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.7664, allocations: 0.8059 MB / 0.7665 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008069/0.7672, allocations: 0.6221 MB / 0.7671 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.7683, allocations: 0.9535 MB / 0.768 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.773, allocations: 2.777 MB / 0.7707 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.7731, allocations: 0 / 0.7707 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7731, allocations: 0 / 0.7707 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.184e-05/0.7732, allocations: 1.469 kB / 0.7707 GB, free: 10.09 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.005071/0.7782, allocations: 2.16 MB / 0.7728 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.7783, allocations: 10.03 kB / 0.7728 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.648e-05/0.7783, allocations: 31.33 kB / 0.7729 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003081/0.7786, allocations: 198.8 kB / 0.7731 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.7917, allocations: 2.113 MB / 0.7751 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004283/0.796, allocations: 1.233 MB / 0.7763 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.7962, allocations: 88.23 kB / 0.7764 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.7966, allocations: 120.8 kB / 0.7765 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008554/0.8051, allocations: 2.672 MB / 0.7791 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.818e-05/0.8052, allocations: 7.781 kB / 0.7792 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.8054, allocations: 54.95 kB / 0.7792 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000896/0.8063, allocations: 192.3 kB / 0.7794 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009964/0.8163, allocations: 2.795 MB / 0.7821 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01692/0.8332, allocations: 10.36 MB / 0.7922 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006703/0.8399, allocations: 2.179 MB / 0.7944 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/0.8434, allocations: 1.198 MB / 0.7955 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.462e-05/0.8434, allocations: 9 kB / 0.7955 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.8435, allocations: 53.98 kB / 0.7956 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 3.797e-06/0.8435, allocations: 4 kB / 0.7956 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=153): time 0.06377/0.9073, allocations: 16 MB / 0.8112 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.9073, allocations: 66.44 kB / 0.8113 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.9093, allocations: 1.174 MB / 0.8124 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003375/0.9097, allocations: 52.55 kB / 0.8125 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/0.9104, allocations: 0.7579 MB / 0.8132 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008349/0.9113, allocations: 0.5429 MB / 0.8137 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007622/0.912, allocations: 287.2 kB / 0.814 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9122, allocations: 311.5 kB / 0.8143 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003834/0.916, allocations: 1.505 MB / 0.8158 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/0.9202, allocations: 1.786 MB / 0.8175 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008387/0.9286, allocations: 3.366 MB / 0.8208 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.9286, allocations: 0 / 0.8208 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01556/0.9442, allocations: 5.22 MB / 0.8259 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.9442, allocations: 8 kB / 0.8259 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.9443, allocations: 8 kB / 0.8259 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007768/0.952, allocations: 1.874 MB / 0.8278 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.9544, allocations: 423.6 kB / 0.8282 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03496/0.9894, allocations: 23.34 MB / 0.851 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/0.9931, allocations: 303.6 kB / 0.8513 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005498/0.9936, allocations: 71.91 kB / 0.8513 GB, free: 3.883 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.001586/0.9952, allocations: 467.6 kB / 0.8518 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/0.9959, allocations: 182.9 kB / 0.8519 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/1.011, allocations: 5.253 MB / 0.8571 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.011, allocations: 16 kB / 0.8571 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.581e-05/1.011, allocations: 20 kB / 0.8571 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/1.011, allocations: 7.969 kB / 0.8571 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/1.031, allocations: 7.321 MB / 0.8643 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.031, allocations: 4 kB / 0.8643 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.033, allocations: 352.7 kB / 0.8646 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006741/1.039, allocations: 1.706 MB / 0.8663 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002938/1.04, allocations: 43.91 kB / 0.8663 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03255/1.072, allocations: 22.5 MB / 0.8883 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.072, allocations: 4 kB / 0.8883 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/1.086, allocations: 4.829 MB / 0.893 GB, free: 8.41 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.088, allocations: 430.5 kB / 0.8934 GB, free: 7.988 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009142/1.089, allocations: 32 kB / 0.8934 GB, free: 7.957 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/1.092, allocations: 315.5 kB / 0.8937 GB, free: 7.648 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006525/1.092, allocations: 155.8 kB / 0.8939 GB, free: 7.496 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002549/1.093, allocations: 55.97 kB / 0.8939 GB, free: 7.441 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001586/1.094, allocations: 0.7938 MB / 0.8947 GB, free: 6.648 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 0 / 0.8947 GB, free: 6.648 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003786/1.098, allocations: 0.6601 MB / 0.8954 GB, free: 5.988 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.01695/1.115, allocations: 5.403 MB / 0.9006 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.128, allocations: 4.927 MB / 0.9055 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.128, allocations: 384 / 0.9055 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.008386/1.136, allocations: 3.268 MB / 0.9086 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003915/1.14, allocations: 0.5653 MB / 0.9092 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05835/1.199, allocations: 21.79 MB / 0.9305 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/1.201, allocations: 1.565 MB / 0.932 GB, free: 52 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002058/1.203, allocations: 390.4 kB / 0.9324 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.204, allocations: 0.6593 MB / 0.933 GB, free: 15 MB / 0.7169 GB Notification: Performance of SimCode: time 1.273e-06/1.204, allocations: 0 / 0.933 GB, free: 15 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/1.345, allocations: 60.77 MB / 0.9924 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.33/23.68, allocations: 14.17 kB / 0.9924 GB, free: 2.98 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.933959800982848] Failed to read output from testmodel.py, exit status != 0: 23.881516472029034 23.898968796 23.122320481 Calling exit ...