Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001527/0.001527, allocations: 118 kB / 19.69 MB, free: 2.199 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.001622/0.001622, allocations: 221.1 kB / 23.01 MB, free: 5.047 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.033/1.033, allocations: 150 MB / 463.2 MB, free: 10.47 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.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.002226/0.002226, allocations: 61.97 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2115, allocations: 89.19 MB / 0.7284 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009405/0.2209, allocations: 5.734 MB / 0.734 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006086/0.227, allocations: 2.778 MB / 0.7367 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009214/0.2279, allocations: 39.62 kB / 0.7367 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.2302, allocations: 0.7002 MB / 0.7374 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.2319, allocations: 425.7 kB / 0.7378 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.2335, allocations: 426.2 kB / 0.7382 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.2354, allocations: 0.9633 MB / 0.7392 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008393/0.2362, allocations: 378.5 kB / 0.7395 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009209/0.2372, allocations: 390.5 kB / 0.7399 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.2382, allocations: 430.3 kB / 0.7403 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.2384, allocations: 52 kB / 0.7403 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.2395, allocations: 379.2 kB / 0.7407 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.24, allocations: 247.2 kB / 0.7409 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007682/0.2408, allocations: 350.3 kB / 0.7413 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.2428, allocations: 0.9805 MB / 0.7422 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.2428, allocations: 4 kB / 0.7422 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2428, allocations: 0 / 0.7422 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.244e-05/0.2429, allocations: 0 / 0.7422 GB, free: 2.969 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00233/0.2452, allocations: 0.9272 MB / 0.7431 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.2453, allocations: 12.03 kB / 0.7432 GB, free: 2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.2454, allocations: 98.69 kB / 0.7433 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.247, allocations: 196.3 kB / 0.7434 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.2481, allocations: 468.9 kB / 0.7439 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.2481, allocations: 33.38 kB / 0.7439 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.2483, allocations: 60.5 kB / 0.744 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.2496, allocations: 0.8316 MB / 0.7448 GB, free: 208 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.2497, allocations: 3.938 kB / 0.7448 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.2497, allocations: 24 kB / 0.7448 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002116/0.2499, allocations: 68.94 kB / 0.7449 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.2509, allocations: 0.5737 MB / 0.7454 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.2561, allocations: 4.505 MB / 0.7498 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.2566, allocations: 275.2 kB / 0.7501 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.257, allocations: 217.3 kB / 0.7503 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.257, allocations: 4.281 kB / 0.7503 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.257, allocations: 30.84 kB / 0.7503 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.257, allocations: 0 / 0.7503 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005924/0.263, allocations: 2.33 MB / 0.7526 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.263, allocations: 59.41 kB / 0.7527 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/0.2637, allocations: 470 kB / 0.7531 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.2637, allocations: 37.7 kB / 0.7532 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.2641, allocations: 344.5 kB / 0.7535 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2642, allocations: 154.7 kB / 0.7536 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.2644, allocations: 106.2 kB / 0.7537 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2646, allocations: 362.8 kB / 0.7541 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.2649, allocations: 237.2 kB / 0.7543 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.2655, allocations: 411.3 kB / 0.7547 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.2665, allocations: 0.6779 MB / 0.7554 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2665, allocations: 0 / 0.7554 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001845/0.2684, allocations: 0.914 MB / 0.7563 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2684, allocations: 8.062 kB / 0.7563 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2684, allocations: 12 kB / 0.7563 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008038/0.2692, allocations: 222.4 kB / 0.7565 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.2697, allocations: 115.8 kB / 0.7566 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4113/0.681, allocations: 5.02 MB / 0.7615 GB, free: 32.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.6816, allocations: 33.88 kB / 0.7615 GB, free: 32.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.6816, allocations: 24.92 kB / 0.7616 GB, free: 32.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003208/0.682, allocations: 222.8 kB / 0.7618 GB, free: 31.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.6821, allocations: 58.45 kB / 0.7618 GB, free: 31.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.6835, allocations: 0.7718 MB / 0.7626 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.6835, allocations: 9.266 kB / 0.7626 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6835, allocations: 4.406 kB / 0.7626 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6835, allocations: 0.6875 kB / 0.7626 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.6858, allocations: 1.465 MB / 0.764 GB, free: 31.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.6858, allocations: 6.125 kB / 0.764 GB, free: 31.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.6862, allocations: 70.06 kB / 0.7641 GB, free: 31.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006111/0.6868, allocations: 209.1 kB / 0.7643 GB, free: 31.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.6868, allocations: 8.594 kB / 0.7643 GB, free: 31.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004201/0.691, allocations: 4.968 MB / 0.7692 GB, free: 27.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.691, allocations: 6.172 kB / 0.7692 GB, free: 27.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.6929, allocations: 1.126 MB / 0.7703 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.6932, allocations: 88.41 kB / 0.7703 GB, free: 27.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.6932, allocations: 11.98 kB / 0.7704 GB, free: 27.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.6935, allocations: 29.14 kB / 0.7704 GB, free: 27.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6937, allocations: 44.81 kB / 0.7704 GB, free: 27.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.6937, allocations: 14.45 kB / 0.7704 GB, free: 27.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004289/0.6941, allocations: 311 kB / 0.7707 GB, free: 27.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6941, allocations: 0 / 0.7707 GB, free: 27.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007446/0.6949, allocations: 173.1 kB / 0.7709 GB, free: 27.56 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002225/0.6971, allocations: 1.692 MB / 0.7726 GB, free: 26.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.6994, allocations: 0.9781 MB / 0.7735 GB, free: 26.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6994, allocations: 1.125 kB / 0.7735 GB, free: 26.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.7005, allocations: 0.667 MB / 0.7742 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.7016, allocations: 177.8 kB / 0.7743 GB, free: 26.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.7117, allocations: 5.65 MB / 0.7798 GB, free: 23.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.7123, allocations: 0.9482 MB / 0.7808 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004971/0.7128, allocations: 116.2 kB / 0.7809 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.7131, allocations: 215 kB / 0.7811 GB, free: 22.57 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/0.7131, allocations: 4 kB / 0.7811 GB, free: 22.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07208/0.7852, allocations: 14.73 MB / 0.7955 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.43, allocations: 7.078 kB / 0.7955 GB, free: 18.78 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.523144027916715] Failed to read output from testmodel.py, exit status != 0: 13.54881844506599 13.570127162 13.323050765 Calling exit ...