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.001795/0.001795, 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.001497/0.001497, allocations: 217.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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.013/1.013, allocations: 149.9 MB / 463.1 MB, free: 10.32 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",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="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.002332/0.002332, allocations: 62.78 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1692, allocations: 89.17 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008055/0.1772, allocations: 5.263 MB / 0.7333 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004899/0.1821, allocations: 2.611 MB / 0.7358 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.1826, allocations: 31.75 kB / 0.7359 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.1848, allocations: 0.6834 MB / 0.7365 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.1861, allocations: 421.8 kB / 0.7369 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1873, allocations: 403.1 kB / 0.7373 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.1889, allocations: 0.9477 MB / 0.7383 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000886/0.1898, allocations: 378.8 kB / 0.7386 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009251/0.1907, allocations: 394.5 kB / 0.739 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007721/0.1915, allocations: 402.4 kB / 0.7394 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.1916, allocations: 48 kB / 0.7394 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008113/0.1924, allocations: 331.2 kB / 0.7397 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.1928, allocations: 251.2 kB / 0.74 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005519/0.1934, allocations: 286.7 kB / 0.7403 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.1949, allocations: 0.9844 MB / 0.7412 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.195, allocations: 0 / 0.7412 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.195, allocations: 8 kB / 0.7412 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.4e-05/0.195, allocations: 0 / 0.7412 GB, free: 3.57 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.002084/0.1971, allocations: 0.9131 MB / 0.7421 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1971, allocations: 11.97 kB / 0.7421 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.1973, allocations: 94.69 kB / 0.7422 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.1987, allocations: 204.2 kB / 0.7424 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009648/0.1996, allocations: 459.6 kB / 0.7429 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.1997, allocations: 33.38 kB / 0.7429 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.1998, allocations: 56.55 kB / 0.7429 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2012, allocations: 0.9861 MB / 0.7439 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.2012, allocations: 7.953 kB / 0.7439 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/0.2013, allocations: 20 kB / 0.7439 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/0.2015, allocations: 72.88 kB / 0.744 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009825/0.2025, allocations: 0.5658 MB / 0.7445 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005272/0.2077, allocations: 3.573 MB / 0.748 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.2083, allocations: 275.3 kB / 0.7483 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.2086, allocations: 213.2 kB / 0.7485 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2087, allocations: 4.281 kB / 0.7485 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.2087, allocations: 38.84 kB / 0.7485 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.395e-06/0.2087, allocations: 0 / 0.7485 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.006033/0.2148, allocations: 2.334 MB / 0.7508 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.2148, allocations: 55.41 kB / 0.7509 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.2154, allocations: 473.8 kB / 0.7513 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.2154, allocations: 33.7 kB / 0.7514 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.2157, allocations: 344.5 kB / 0.7517 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.2159, allocations: 154.7 kB / 0.7518 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.216, allocations: 106.2 kB / 0.7519 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2162, allocations: 362.8 kB / 0.7523 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.2166, allocations: 233.2 kB / 0.7525 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.2171, allocations: 415.3 kB / 0.7529 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.2181, allocations: 0.6779 MB / 0.7536 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2181, allocations: 0 / 0.7536 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001784/0.2199, allocations: 0.9138 MB / 0.7545 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2199, allocations: 9.875 kB / 0.7545 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2199, allocations: 4 kB / 0.7545 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008214/0.2207, allocations: 222.7 kB / 0.7547 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.2213, allocations: 119.8 kB / 0.7548 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3091/0.5304, allocations: 4.994 MB / 0.7597 GB, free: 32.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/0.531, allocations: 28.11 kB / 0.7597 GB, free: 32.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.5311, allocations: 24.44 kB / 0.7597 GB, free: 32.94 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.0002866/0.5313, allocations: 230.7 kB / 0.7599 GB, free: 32.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.5314, allocations: 61.38 kB / 0.76 GB, free: 32.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.5329, allocations: 0.7614 MB / 0.7607 GB, free: 32.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5329, allocations: 6.781 kB / 0.7608 GB, free: 32.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.5329, allocations: 4.562 kB / 0.7608 GB, free: 32.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.5329, allocations: 4.406 kB / 0.7608 GB, free: 32.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.5352, allocations: 1.402 MB / 0.7621 GB, free: 32.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5352, allocations: 3.625 kB / 0.7621 GB, free: 32.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.5356, allocations: 66.12 kB / 0.7622 GB, free: 32.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006045/0.5362, allocations: 206.4 kB / 0.7624 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.5362, allocations: 12.97 kB / 0.7624 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.5399, allocations: 4.926 MB / 0.7672 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5399, allocations: 6.531 kB / 0.7672 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.5415, allocations: 1.123 MB / 0.7683 GB, free: 28.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.5418, allocations: 96.95 kB / 0.7684 GB, free: 28.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.5419, allocations: 14.61 kB / 0.7684 GB, free: 28.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.5422, allocations: 25.09 kB / 0.7684 GB, free: 28.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.5423, allocations: 42.94 kB / 0.7685 GB, free: 28.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.5423, allocations: 14.03 kB / 0.7685 GB, free: 28.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003463/0.5427, allocations: 310.1 kB / 0.7688 GB, free: 28.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5427, allocations: 0 / 0.7688 GB, free: 28.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006528/0.5433, allocations: 168.4 kB / 0.769 GB, free: 28.43 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.001865/0.5452, allocations: 1.69 MB / 0.7706 GB, free: 27.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.5468, allocations: 0.9717 MB / 0.7716 GB, free: 27.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5468, allocations: 1.406 kB / 0.7716 GB, free: 27.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000946/0.5478, allocations: 0.6683 MB / 0.7722 GB, free: 26.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.5487, allocations: 184.6 kB / 0.7724 GB, free: 26.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008315/0.557, allocations: 5.625 MB / 0.7779 GB, free: 24.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.5575, allocations: 345.3 kB / 0.7782 GB, free: 24.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004645/0.558, allocations: 114.4 kB / 0.7783 GB, free: 24.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.5582, allocations: 205.9 kB / 0.7785 GB, free: 24.31 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.5582, allocations: 0 / 0.7785 GB, free: 24.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/0.6196, allocations: 15.6 MB / 0.7938 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.84, allocations: 23.83 kB / 0.7938 GB, free: 20.04 MB / 0.5762 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.73911296809092] Failed to read output from testmodel.py, exit status != 0: 12.95726978359744 12.969347438 12.772036492 Calling exit ...