Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001835/0.001835, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.002102/0.002102, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.588/1.588, allocations: 230.6 MB / 254.2 MB, free: 15.06 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.017/1.017, allocations: 150 MB / 460.2 MB, free: 5.258 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.002066/0.002066, allocations: 66.28 kB / 0.6368 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1783, allocations: 89.14 MB / 0.7239 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007863/0.1862, allocations: 5.543 MB / 0.7293 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004768/0.1909, allocations: 2.681 MB / 0.7319 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000382/0.1913, allocations: 35.69 kB / 0.7319 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.1932, allocations: 0.6885 MB / 0.7326 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.1943, allocations: 421.7 kB / 0.733 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1953, allocations: 401.7 kB / 0.7334 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.1965, allocations: 0.9474 MB / 0.7343 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006223/0.1972, allocations: 370.6 kB / 0.7347 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.1978, allocations: 390.6 kB / 0.735 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.1984, allocations: 426.3 kB / 0.7354 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.1984, allocations: 48 kB / 0.7355 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.1992, allocations: 375.2 kB / 0.7358 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.1995, allocations: 251.2 kB / 0.7361 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.1998, allocations: 346.2 kB / 0.7364 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.2011, allocations: 0.9845 MB / 0.7374 GB, free: 6.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2011, allocations: 0 / 0.7374 GB, free: 6.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2011, allocations: 4 kB / 0.7374 GB, free: 6.145 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.2011, allocations: 0 / 0.7374 GB, free: 6.145 MB / 0.545 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.001745/0.2028, allocations: 0.9883 MB / 0.7383 GB, free: 5.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.2029, allocations: 12.03 kB / 0.7383 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.074e-05/0.2029, allocations: 13.19 kB / 0.7384 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.203, allocations: 102.7 kB / 0.7385 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.2045, allocations: 200.2 kB / 0.7386 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000871/0.2054, allocations: 0.5262 MB / 0.7392 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.2054, allocations: 37.36 kB / 0.7392 GB, free: 4.172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.2056, allocations: 56.3 kB / 0.7393 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.2069, allocations: 0.82 MB / 0.7401 GB, free: 3.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.2069, allocations: 11.89 kB / 0.7401 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/0.207, allocations: 27.98 kB / 0.7401 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.2072, allocations: 60.95 kB / 0.7401 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009546/0.2081, allocations: 0.5697 MB / 0.7407 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.2133, allocations: 4.578 MB / 0.7452 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.2138, allocations: 283.2 kB / 0.7454 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.2142, allocations: 213.3 kB / 0.7456 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.2142, allocations: 288 / 0.7456 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.2142, allocations: 42.84 kB / 0.7457 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.2142, allocations: 0 / 0.7457 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.006158/0.2204, allocations: 2.627 MB / 0.7483 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.2205, allocations: 63.34 kB / 0.7483 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00057/0.221, allocations: 450 kB / 0.7487 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.2211, allocations: 33.7 kB / 0.7488 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.2213, allocations: 356.5 kB / 0.7491 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.2215, allocations: 158.7 kB / 0.7493 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.2217, allocations: 106.2 kB / 0.7494 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2219, allocations: 362.7 kB / 0.7497 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.2223, allocations: 233 kB / 0.7499 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.2228, allocations: 413.4 kB / 0.7503 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/0.2238, allocations: 0.674 MB / 0.751 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2238, allocations: 4 kB / 0.751 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001856/0.2256, allocations: 0.9132 MB / 0.7519 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2256, allocations: 8 kB / 0.7519 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2257, allocations: 8 kB / 0.7519 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008618/0.2265, allocations: 223 kB / 0.7521 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.2271, allocations: 115.9 kB / 0.7522 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005857/0.2329, allocations: 5.344 MB / 0.7574 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.2335, allocations: 36.22 kB / 0.7575 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.2335, allocations: 20 kB / 0.7575 GB, free: 216 kB / 0.5606 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.0003741/0.2339, allocations: 234.6 kB / 0.7577 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.234, allocations: 59.62 kB / 0.7578 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.2357, allocations: 0.7618 MB / 0.7585 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2357, allocations: 4 kB / 0.7585 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2357, allocations: 4 kB / 0.7585 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2357, allocations: 0 / 0.7585 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.2384, allocations: 1.486 MB / 0.76 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.2384, allocations: 4 kB / 0.76 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.2388, allocations: 71.88 kB / 0.7601 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/0.2396, allocations: 202.6 kB / 0.7602 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.2396, allocations: 8 kB / 0.7603 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005798/0.2454, allocations: 5.278 MB / 0.7654 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2454, allocations: 0 / 0.7654 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.2475, allocations: 1.133 MB / 0.7665 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.2477, allocations: 172.6 kB / 0.7667 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.2478, allocations: 16.12 kB / 0.7667 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.2481, allocations: 23.97 kB / 0.7667 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2483, allocations: 43.94 kB / 0.7668 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.2483, allocations: 16 kB / 0.7668 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003939/0.2487, allocations: 310.9 kB / 0.7671 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2487, allocations: 0 / 0.7671 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007945/0.2495, allocations: 164 kB / 0.7672 GB, free: 5.633 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.002316/0.2518, allocations: 1.692 MB / 0.7689 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.2536, allocations: 0.9689 MB / 0.7698 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2536, allocations: 0 / 0.7698 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.2547, allocations: 0.6719 MB / 0.7705 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.2557, allocations: 185.8 kB / 0.7707 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/0.2648, allocations: 5.615 MB / 0.7761 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.2654, allocations: 0.9533 MB / 0.7771 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00038/0.2658, allocations: 113 kB / 0.7772 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.2661, allocations: 207.4 kB / 0.7774 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.2661, allocations: 0 / 0.7774 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04877/0.3149, allocations: 14.24 MB / 0.7913 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.79, allocations: 4.406 kB / 0.7913 GB, free: 12.84 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.00260707398411] Failed to read output from testmodel.py, exit status != 0: 11.948236232041381 11.973346511 11.767538112 Calling exit ...