Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001335/0.001335, 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.001479/0.001479, allocations: 215.5 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.512/1.512, 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.9833/0.9833, allocations: 149.9 MB / 463 MB, free: 10.37 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.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002135/0.002135, allocations: 71.45 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.183, allocations: 89.16 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01867/0.2017, allocations: 13.28 MB / 0.7411 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.2179, allocations: 9.151 MB / 0.7501 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.2196, allocations: 87.19 kB / 0.7501 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005364/0.225, allocations: 1.672 MB / 0.7518 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005914/0.2309, allocations: 1.588 MB / 0.7533 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.2334, allocations: 0.7523 MB / 0.7541 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004354/0.2377, allocations: 2.528 MB / 0.7565 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.2402, allocations: 1.172 MB / 0.7577 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.2427, allocations: 1.215 MB / 0.7589 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.245, allocations: 1.054 MB / 0.7599 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005491/0.2455, allocations: 160 kB / 0.76 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3868/0.6323, allocations: 0.7225 MB / 0.7608 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008636/0.6332, allocations: 0.6268 MB / 0.7614 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.6343, allocations: 0.7667 MB / 0.7621 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003826/0.6381, allocations: 2.759 MB / 0.7648 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6381, allocations: 0.7969 kB / 0.7648 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6381, allocations: 1.156 kB / 0.7648 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.962e-05/0.6382, allocations: 0 / 0.7648 GB, free: 12.32 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.004279/0.6425, allocations: 2.1 MB / 0.7669 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6425, allocations: 11.06 kB / 0.7669 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.6428, allocations: 192.8 kB / 0.7671 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.6545, allocations: 2.092 MB / 0.7691 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.6576, allocations: 1.177 MB / 0.7702 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.6577, allocations: 92.77 kB / 0.7703 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.658, allocations: 122.9 kB / 0.7705 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006642/0.6646, allocations: 2.896 MB / 0.7733 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.6647, allocations: 7.656 kB / 0.7733 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.6649, allocations: 53.05 kB / 0.7733 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007136/0.6656, allocations: 179.8 kB / 0.7735 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008422/0.674, allocations: 2.794 MB / 0.7762 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/0.6885, allocations: 8.326 MB / 0.7844 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006932/0.6954, allocations: 2.212 MB / 0.7865 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/0.6986, allocations: 1.21 MB / 0.7877 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.114e-05/0.6987, allocations: 18.92 kB / 0.7877 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.6988, allocations: 44.44 kB / 0.7878 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 3.076e-06/0.6988, allocations: 0 / 0.7878 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.04677/0.7455, allocations: 12.66 MB / 0.8001 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.7456, allocations: 65.09 kB / 0.8002 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.747, allocations: 1.135 MB / 0.8013 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000203/0.7472, allocations: 47.2 kB / 0.8014 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.7476, allocations: 0.7313 MB / 0.8021 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.748, allocations: 464.9 kB / 0.8025 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004834/0.7485, allocations: 263.3 kB / 0.8028 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.7485, allocations: 365.4 kB / 0.8031 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/0.7517, allocations: 1.342 MB / 0.8044 GB, free: 108 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/0.7554, allocations: 1.599 MB / 0.806 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007028/0.7624, allocations: 2.99 MB / 0.8089 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.7624, allocations: 3.531 kB / 0.8089 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01205/0.7745, allocations: 4.401 MB / 0.8132 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.7745, allocations: 11.84 kB / 0.8132 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.7745, allocations: 10.56 kB / 0.8132 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005396/0.7799, allocations: 1.434 MB / 0.8146 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.7821, allocations: 435.7 kB / 0.815 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03122/0.8133, allocations: 25.11 MB / 0.8396 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/0.8162, allocations: 303.5 kB / 0.8399 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.8165, allocations: 61.59 kB / 0.8399 GB, free: 80 kB / 0.6075 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001184/0.8176, allocations: 443.4 kB / 0.8403 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/0.8181, allocations: 171 kB / 0.8405 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.831, allocations: 4.404 MB / 0.8448 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.8311, allocations: 12 kB / 0.8448 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/0.8311, allocations: 18.81 kB / 0.8448 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.8311, allocations: 7.969 kB / 0.8448 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/0.8486, allocations: 6.301 MB / 0.851 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.8486, allocations: 7.375 kB / 0.851 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/0.8506, allocations: 378.4 kB / 0.8514 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005111/0.8558, allocations: 1.303 MB / 0.8526 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.856, allocations: 39.95 kB / 0.8527 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02892/0.8849, allocations: 23.97 MB / 0.8761 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.8849, allocations: 3.375 kB / 0.8761 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/0.8972, allocations: 4.164 MB / 0.8801 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/0.8988, allocations: 389.5 kB / 0.8805 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.8991, allocations: 27.98 kB / 0.8805 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/0.9015, allocations: 303.5 kB / 0.8808 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005291/0.902, allocations: 134.5 kB / 0.881 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.9022, allocations: 51.97 kB / 0.881 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001322/0.9035, allocations: 0.7526 MB / 0.8817 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9035, allocations: 0 / 0.8817 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002763/0.9062, allocations: 0.5736 MB / 0.8823 GB, free: 3.223 MB / 0.6544 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0124/0.9186, allocations: 4.762 MB / 0.887 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01264/0.9313, allocations: 4.956 MB / 0.8918 GB, free: 9.332 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/0.9313, allocations: 8 kB / 0.8918 GB, free: 9.324 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008291/0.9396, allocations: 3.415 MB / 0.8951 GB, free: 5.758 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/0.9434, allocations: 0.5568 MB / 0.8957 GB, free: 5.238 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05172/0.9952, allocations: 19.35 MB / 0.9146 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.997, allocations: 0.8834 MB / 0.9154 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001893/0.9989, allocations: 421.6 kB / 0.9158 GB, free: 308 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1, allocations: 0.6298 MB / 0.9165 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of SimCode: time 1.092e-06/1, allocations: 0 / 0.9165 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1505/1.151, allocations: 56.38 MB / 0.9715 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.75, allocations: 12 kB / 0.9715 GB, free: 8.246 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.69710102584213] Failed to read output from testmodel.py, exit status != 0: 14.901083217002451 14.917485602 14.275898974 Calling exit ...