Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001794/0.001794, allocations: 113.4 kB / 17.12 MB, free: 6.027 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.002558/0.002558, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.1 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: 150 MB / 459.5 MB, free: 5.23 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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001981/0.001981, allocations: 74.52 kB / 0.6361 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1857, allocations: 89.13 MB / 0.7232 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009717/0.1954, allocations: 6.899 MB / 0.7299 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006304/0.2017, allocations: 3.141 MB / 0.733 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005697/0.2023, allocations: 39.62 kB / 0.733 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002622/0.2049, allocations: 0.9717 MB / 0.734 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.2067, allocations: 0.5129 MB / 0.7345 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.208, allocations: 443 kB / 0.7349 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.2098, allocations: 1.228 MB / 0.7361 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008769/0.2107, allocations: 0.5335 MB / 0.7366 GB, free: 6.219 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007307/0.2114, allocations: 494.2 kB / 0.7371 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007354/0.2122, allocations: 0.5448 MB / 0.7376 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.2123, allocations: 75.94 kB / 0.7377 GB, free: 5.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.2131, allocations: 387.2 kB / 0.738 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.2134, allocations: 319.1 kB / 0.7383 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.2139, allocations: 457.7 kB / 0.7388 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.2154, allocations: 1.218 MB / 0.74 GB, free: 2.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2154, allocations: 4 kB / 0.74 GB, free: 2.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2154, allocations: 0 / 0.74 GB, free: 2.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.2154, allocations: 0 / 0.74 GB, free: 2.746 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002054/0.2175, allocations: 1.196 MB / 0.7411 GB, free: 1.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2175, allocations: 8.031 kB / 0.7412 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.2177, allocations: 126.7 kB / 0.7413 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.2193, allocations: 244.1 kB / 0.7415 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.2204, allocations: 0.6043 MB / 0.7421 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.2204, allocations: 53.61 kB / 0.7421 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2205, allocations: 64.36 kB / 0.7422 GB, free: 368 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.2222, allocations: 1.085 MB / 0.7433 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.2223, allocations: 11.89 kB / 0.7433 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-05/0.2224, allocations: 27.98 kB / 0.7433 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.2225, allocations: 85.25 kB / 0.7434 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.2237, allocations: 0.7543 MB / 0.7441 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006035/0.2298, allocations: 5.89 MB / 0.7499 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009899/0.2308, allocations: 0.5133 MB / 0.7504 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.2312, allocations: 294 kB / 0.7507 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.2312, allocations: 4.438 kB / 0.7507 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.2313, allocations: 42.94 kB / 0.7507 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.194e-06/0.2313, allocations: 0 / 0.7507 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003958/0.2352, allocations: 1.98 MB / 0.7526 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.2353, allocations: 59.84 kB / 0.7527 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.236, allocations: 0.5588 MB / 0.7532 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.236, allocations: 37.7 kB / 0.7533 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.2364, allocations: 428 kB / 0.7537 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.2365, allocations: 182.5 kB / 0.7539 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.2367, allocations: 122.6 kB / 0.754 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.237, allocations: 386.7 kB / 0.7543 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/0.2374, allocations: 273.8 kB / 0.7546 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.2381, allocations: 493 kB / 0.7551 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.2392, allocations: 0.8093 MB / 0.7559 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2392, allocations: 4 kB / 0.7559 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002126/0.2414, allocations: 1.083 MB / 0.7569 GB, free: 380 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.2414, allocations: 9.719 kB / 0.7569 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.2414, allocations: 4 kB / 0.7569 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009233/0.2423, allocations: 283.8 kB / 0.7572 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.2428, allocations: 123.8 kB / 0.7573 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/0.2503, allocations: 7.135 MB / 0.7643 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.2509, allocations: 39.97 kB / 0.7643 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/0.251, allocations: 28 kB / 0.7644 GB, free: 8.188 MB / 0.5762 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0004087/0.2514, allocations: 257.5 kB / 0.7646 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.2516, allocations: 75.72 kB / 0.7647 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.2534, allocations: 0.8847 MB / 0.7655 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2534, allocations: 4 kB / 0.7655 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.2535, allocations: 8 kB / 0.7656 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2535, allocations: 3.984 kB / 0.7656 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.2569, allocations: 1.713 MB / 0.7672 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.257, allocations: 7.938 kB / 0.7672 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.2572, allocations: 59.89 kB / 0.7673 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008539/0.2581, allocations: 271.3 kB / 0.7676 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.2581, allocations: 12 kB / 0.7676 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007756/0.2659, allocations: 7.126 MB / 0.7745 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2659, allocations: 0 / 0.7745 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.2676, allocations: 0.9799 MB / 0.7755 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.268, allocations: 200.6 kB / 0.7757 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2681, allocations: 11.94 kB / 0.7757 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.2685, allocations: 27.97 kB / 0.7757 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.2687, allocations: 47.88 kB / 0.7758 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.2687, allocations: 16.19 kB / 0.7758 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005381/0.2692, allocations: 387.1 kB / 0.7761 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2692, allocations: 0 / 0.7761 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009704/0.2702, allocations: 224 kB / 0.7764 GB, free: 11.15 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002115/0.2723, allocations: 1.54 MB / 0.7779 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.2745, allocations: 1.225 MB / 0.7791 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.2745, allocations: 12.06 kB / 0.7791 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.2759, allocations: 0.8776 MB / 0.7799 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.277, allocations: 216.1 kB / 0.7801 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009859/0.2869, allocations: 6.392 MB / 0.7864 GB, free: 408 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.2877, allocations: 1.013 MB / 0.7874 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003987/0.2881, allocations: 122 kB / 0.7875 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.2885, allocations: 251.4 kB / 0.7877 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/0.2885, allocations: 0 / 0.7877 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06678/0.3552, allocations: 17.63 MB / 0.8049 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.46, allocations: 4 kB / 0.8049 GB, free: 13.66 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.751744394889101] Failed to read output from testmodel.py, exit status != 0: 11.557267669821158 11.585492647 11.364820566 Calling exit ...