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.001401/0.001401, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.002413/0.002413, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.607/1.607, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.08/1.08, allocations: 150 MB / 459.5 MB, free: 5.371 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.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.002086/0.002086, allocations: 71.42 kB / 0.6361 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1763, allocations: 89.13 MB / 0.7232 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008397/0.1847, allocations: 5.613 MB / 0.7286 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005193/0.1898, allocations: 2.712 MB / 0.7313 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.1905, allocations: 35.69 kB / 0.7313 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.1925, allocations: 0.6951 MB / 0.732 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1937, allocations: 417.8 kB / 0.7324 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1948, allocations: 407 kB / 0.7328 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.1963, allocations: 0.9668 MB / 0.7337 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000784/0.1971, allocations: 366.6 kB / 0.7341 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008977/0.198, allocations: 394.5 kB / 0.7345 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008778/0.1989, allocations: 422.4 kB / 0.7349 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.199, allocations: 48 kB / 0.7349 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.2, allocations: 375.2 kB / 0.7353 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004002/0.2004, allocations: 255.2 kB / 0.7355 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005376/0.2009, allocations: 358.1 kB / 0.7359 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.2025, allocations: 0.9767 MB / 0.7368 GB, free: 6.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2025, allocations: 0 / 0.7368 GB, free: 6.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2025, allocations: 0 / 0.7368 GB, free: 6.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.094e-05/0.2025, allocations: 0 / 0.7368 GB, free: 6.082 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.002258/0.2048, allocations: 1.002 MB / 0.7378 GB, free: 5.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2048, allocations: 12.03 kB / 0.7378 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.2049, allocations: 98.69 kB / 0.7379 GB, free: 4.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.2064, allocations: 196.3 kB / 0.7381 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/0.2074, allocations: 0.5301 MB / 0.7386 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.2074, allocations: 37.36 kB / 0.7386 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.2076, allocations: 56.52 kB / 0.7387 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2089, allocations: 0.8317 MB / 0.7395 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.2089, allocations: 7.922 kB / 0.7395 GB, free: 3.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.209, allocations: 27.98 kB / 0.7395 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/0.2092, allocations: 64.94 kB / 0.7396 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.2102, allocations: 0.5775 MB / 0.7402 GB, free: 2.473 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005329/0.2155, allocations: 4.574 MB / 0.7446 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.216, allocations: 275.3 kB / 0.7449 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.2164, allocations: 209.3 kB / 0.7451 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.2164, allocations: 8.281 kB / 0.7451 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.2164, allocations: 34.84 kB / 0.7451 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 5.641e-06/0.2164, allocations: 3.984 kB / 0.7451 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.006325/0.2228, allocations: 2.635 MB / 0.7477 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.2228, allocations: 59.41 kB / 0.7478 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.2235, allocations: 462 kB / 0.7482 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.2235, allocations: 41.7 kB / 0.7482 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.2238, allocations: 356.5 kB / 0.7486 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.2239, allocations: 146.8 kB / 0.7487 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.2241, allocations: 98.2 kB / 0.7488 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2243, allocations: 366.8 kB / 0.7492 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.2247, allocations: 233 kB / 0.7494 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.2252, allocations: 410.4 kB / 0.7498 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.2262, allocations: 0.6779 MB / 0.7504 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2262, allocations: 8 kB / 0.7504 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001855/0.228, allocations: 0.9093 MB / 0.7513 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.2281, allocations: 13.7 kB / 0.7514 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2281, allocations: 12.59 kB / 0.7514 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008861/0.229, allocations: 226.3 kB / 0.7516 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.2295, allocations: 115.8 kB / 0.7517 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/0.2357, allocations: 5.34 MB / 0.7569 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.2363, allocations: 31.97 kB / 0.7569 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/0.2363, allocations: 20 kB / 0.757 GB, free: 128 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.0004709/0.2368, allocations: 217.7 kB / 0.7572 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.237, allocations: 67.55 kB / 0.7572 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.2388, allocations: 0.7617 MB / 0.758 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.2388, allocations: 11.98 kB / 0.758 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.2388, allocations: 0 / 0.758 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2388, allocations: 0 / 0.758 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.2417, allocations: 1.494 MB / 0.7594 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.2417, allocations: 7.938 kB / 0.7594 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.2421, allocations: 71.88 kB / 0.7595 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000751/0.2428, allocations: 210.6 kB / 0.7597 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.2429, allocations: 8 kB / 0.7597 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005913/0.2488, allocations: 5.274 MB / 0.7649 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.2488, allocations: 7.969 kB / 0.7649 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.2508, allocations: 1.121 MB / 0.766 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.2511, allocations: 180.7 kB / 0.7661 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.43e-05/0.2512, allocations: 11.98 kB / 0.7662 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.2515, allocations: 23.97 kB / 0.7662 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2517, allocations: 43.95 kB / 0.7662 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.2517, allocations: 8 kB / 0.7662 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004177/0.2521, allocations: 314.9 kB / 0.7665 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2521, allocations: 0 / 0.7665 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007574/0.2529, allocations: 172 kB / 0.7667 GB, free: 5.539 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.002438/0.2553, allocations: 1.692 MB / 0.7684 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.2572, allocations: 0.9691 MB / 0.7693 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2572, allocations: 0 / 0.7693 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.2584, allocations: 0.672 MB / 0.77 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.2594, allocations: 177.3 kB / 0.7701 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00925/0.2686, allocations: 5.646 MB / 0.7756 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/0.2694, allocations: 0.9494 MB / 0.7766 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003917/0.2698, allocations: 121 kB / 0.7767 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.2701, allocations: 211.4 kB / 0.7769 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of SimCode: time 7.41e-07/0.2701, allocations: 0 / 0.7769 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06965/0.3398, allocations: 14.3 MB / 0.7908 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.51, allocations: 7.812 kB / 0.7909 GB, free: 12.64 MB / 0.6075 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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_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: 15.856016085948795] Failed to read output from testmodel.py, exit status != 0: 11.601558828959242 11.625986278 11.418536898 Calling exit ...