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.001423/0.001423, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001496/0.001496, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.042/1.042, allocations: 150 MB / 463.9 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 178] 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.00201/0.00201, allocations: 66.45 kB / 0.642 GB, free: 9.934 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2165, allocations: 89.17 MB / 0.729 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0189/0.2354, allocations: 13.9 MB / 0.7426 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01903/0.2544, allocations: 9.952 MB / 0.7523 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.2567, allocations: 79.25 kB / 0.7524 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005675/0.2623, allocations: 1.68 MB / 0.7541 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007337/0.2697, allocations: 1.856 MB / 0.7559 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.2725, allocations: 0.7628 MB / 0.7566 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005359/0.2778, allocations: 2.758 MB / 0.7593 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.2803, allocations: 1.203 MB / 0.7605 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5092/0.7896, allocations: 1.557 MB / 0.762 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.7917, allocations: 1.227 MB / 0.7632 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.792, allocations: 162 kB / 0.7634 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.7934, allocations: 0.7319 MB / 0.7641 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005292/0.794, allocations: 0.6249 MB / 0.7647 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009022/0.7949, allocations: 0.7738 MB / 0.7654 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004656/0.7995, allocations: 2.801 MB / 0.7682 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.7995, allocations: 0.8438 kB / 0.7682 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7995, allocations: 0 / 0.7682 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001033/0.7996, allocations: 0 / 0.7682 GB, free: 10.62 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.006015/0.8056, allocations: 2.157 MB / 0.7703 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.8057, allocations: 10.5 kB / 0.7703 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.477e-05/0.8058, allocations: 36.36 kB / 0.7703 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003327/0.8061, allocations: 191.3 kB / 0.7705 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/0.8188, allocations: 2.118 MB / 0.7726 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/0.8227, allocations: 1.233 MB / 0.7738 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.8229, allocations: 87.83 kB / 0.7739 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006814/0.8236, allocations: 126.8 kB / 0.774 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007999/0.8316, allocations: 3.07 MB / 0.777 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/0.8316, allocations: 8.078 kB / 0.777 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.8318, allocations: 54.7 kB / 0.777 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007181/0.8325, allocations: 191.8 kB / 0.7772 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00947/0.842, allocations: 2.795 MB / 0.7799 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.8602, allocations: 8.332 MB / 0.7881 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006346/0.8665, allocations: 2.176 MB / 0.7902 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/0.8696, allocations: 1.196 MB / 0.7914 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.816e-05/0.8697, allocations: 9.531 kB / 0.7914 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.8697, allocations: 44.28 kB / 0.7914 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 3.998e-06/0.8697, allocations: 4 kB / 0.7914 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=153): time 0.05669/0.9264, allocations: 16.01 MB / 0.8071 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.9265, allocations: 64.59 kB / 0.8071 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.9282, allocations: 1.182 MB / 0.8083 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003086/0.9285, allocations: 51.27 kB / 0.8083 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.9292, allocations: 0.7608 MB / 0.8091 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006907/0.9299, allocations: 0.5377 MB / 0.8096 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006121/0.9305, allocations: 290.2 kB / 0.8099 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9306, allocations: 305.1 kB / 0.8102 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/0.9341, allocations: 1.512 MB / 0.8116 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/0.9376, allocations: 1.777 MB / 0.8134 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006883/0.9445, allocations: 3.377 MB / 0.8167 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.9445, allocations: 0 / 0.8167 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01376/0.9582, allocations: 5.21 MB / 0.8218 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.9583, allocations: 8.781 kB / 0.8218 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.9583, allocations: 4 kB / 0.8218 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007303/0.9656, allocations: 1.876 MB / 0.8236 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.9677, allocations: 421.9 kB / 0.824 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03242/1, allocations: 23.06 MB / 0.8465 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/1.003, allocations: 311.5 kB / 0.8468 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002869/1.003, allocations: 67.95 kB / 0.8469 GB, free: 9.359 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.001102/1.004, allocations: 464.2 kB / 0.8473 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005102/1.005, allocations: 186.9 kB / 0.8475 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/1.019, allocations: 5.253 MB / 0.8526 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.019, allocations: 16 kB / 0.8527 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-05/1.019, allocations: 16.61 kB / 0.8527 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/1.019, allocations: 10.78 kB / 0.8527 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.037, allocations: 6.964 MB / 0.8595 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.037, allocations: 8 kB / 0.8595 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.039, allocations: 357.4 kB / 0.8598 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006801/1.045, allocations: 1.702 MB / 0.8615 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000425/1.046, allocations: 43.97 kB / 0.8615 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03045/1.076, allocations: 22.24 MB / 0.8833 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.076, allocations: 4.844 kB / 0.8833 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/1.089, allocations: 4.828 MB / 0.888 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.09, allocations: 430.6 kB / 0.8884 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003992/1.091, allocations: 28 kB / 0.8884 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/1.093, allocations: 315.5 kB / 0.8887 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006423/1.093, allocations: 163.6 kB / 0.8889 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/1.094, allocations: 55.97 kB / 0.8889 GB, free: 13.54 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001214/1.095, allocations: 0.7899 MB / 0.8897 GB, free: 12.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.095, allocations: 0 / 0.8897 GB, free: 12.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002584/1.097, allocations: 0.6562 MB / 0.8903 GB, free: 12.1 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.01329/1.111, allocations: 5.413 MB / 0.8956 GB, free: 6.672 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.122, allocations: 4.921 MB / 0.9004 GB, free: 1.684 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.122, allocations: 4 kB / 0.9004 GB, free: 1.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007237/1.13, allocations: 3.261 MB / 0.9036 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.133, allocations: 0.5633 MB / 0.9042 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05158/1.184, allocations: 21.78 MB / 0.9254 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/1.186, allocations: 0.9809 MB / 0.9264 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001682/1.187, allocations: 391 kB / 0.9268 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.188, allocations: 0.6554 MB / 0.9274 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of SimCode: time 1.182e-06/1.188, allocations: 4 kB / 0.9274 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/1.338, allocations: 63.94 MB / 0.9898 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.63/23.96, allocations: 8 kB / 0.9899 GB, free: 6.734 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: 28.360219897935167] Failed to read output from testmodel.py, exit status != 0: 24.164205839973874 24.180563367 23.377580143 Calling exit ...