Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.002128/0.002128, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.002495/0.002495, allocations: 205 kB / 20.09 MB, free: 2.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.616/1.616, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.115/1.115, allocations: 150 MB / 459.5 MB, free: 5.305 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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.00206/0.00206, allocations: 73.22 kB / 0.6361 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.18, allocations: 89.13 MB / 0.7232 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009338/0.1893, allocations: 6.172 MB / 0.7292 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005899/0.1952, allocations: 3.223 MB / 0.7323 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004736/0.1957, allocations: 39.62 kB / 0.7324 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.1985, allocations: 0.9453 MB / 0.7333 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1998, allocations: 497.5 kB / 0.7338 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.2011, allocations: 473.6 kB / 0.7342 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.2029, allocations: 1.1 MB / 0.7353 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.2039, allocations: 0.5142 MB / 0.7358 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009554/0.2049, allocations: 458.3 kB / 0.7362 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009534/0.2058, allocations: 0.4981 MB / 0.7367 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.206, allocations: 56 kB / 0.7368 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.2071, allocations: 499 kB / 0.7373 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.2076, allocations: 299.1 kB / 0.7375 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007404/0.2083, allocations: 394 kB / 0.7379 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.2104, allocations: 1.187 MB / 0.7391 GB, free: 3.707 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2104, allocations: 0 / 0.7391 GB, free: 3.707 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2104, allocations: 0 / 0.7391 GB, free: 3.707 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.2104, allocations: 0 / 0.7391 GB, free: 3.707 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00194/0.2123, allocations: 1.078 MB / 0.7401 GB, free: 2.574 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.2124, allocations: 8.031 kB / 0.7401 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.2125, allocations: 118.7 kB / 0.7402 GB, free: 2.441 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.2141, allocations: 220.2 kB / 0.7405 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.215, allocations: 0.5887 MB / 0.741 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.215, allocations: 45.67 kB / 0.7411 GB, free: 1.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2152, allocations: 68.31 kB / 0.7411 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.2167, allocations: 1.03 MB / 0.7421 GB, free: 356 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.2167, allocations: 7.938 kB / 0.7422 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.2168, allocations: 31.98 kB / 0.7422 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.833e-05/0.2169, allocations: 73.27 kB / 0.7423 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.218, allocations: 0.6918 MB / 0.7429 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005858/0.2239, allocations: 5.73 MB / 0.7485 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.2248, allocations: 0.5444 MB / 0.7491 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008779/0.2257, allocations: 396.5 kB / 0.7494 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.2257, allocations: 8 kB / 0.7494 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.2258, allocations: 38.55 kB / 0.7495 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.023e-06/0.2258, allocations: 0 / 0.7495 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004702/0.2305, allocations: 2.016 MB / 0.7515 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.2305, allocations: 55.41 kB / 0.7515 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.2311, allocations: 454.8 kB / 0.7519 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.2311, allocations: 33.7 kB / 0.752 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.2314, allocations: 400.1 kB / 0.7524 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.2315, allocations: 150.7 kB / 0.7525 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.2317, allocations: 118.2 kB / 0.7526 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.2319, allocations: 362.8 kB / 0.753 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.2323, allocations: 241.2 kB / 0.7532 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.2329, allocations: 457 kB / 0.7536 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.2339, allocations: 0.74 MB / 0.7543 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2339, allocations: 8 kB / 0.7543 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001985/0.2359, allocations: 1.031 MB / 0.7554 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2359, allocations: 9.719 kB / 0.7554 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.2359, allocations: 19.92 kB / 0.7554 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.237, allocations: 315.5 kB / 0.7557 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.2373, allocations: 99.81 kB / 0.7558 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008068/0.2454, allocations: 7.47 MB / 0.7631 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.2458, allocations: 32.3 kB / 0.7631 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.2459, allocations: 24 kB / 0.7631 GB, free: 9.449 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.2462, allocations: 249.5 kB / 0.7634 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2463, allocations: 63.56 kB / 0.7634 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.2483, allocations: 0.8846 MB / 0.7643 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2483, allocations: 4 kB / 0.7643 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.2483, allocations: 7.984 kB / 0.7643 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2483, allocations: 3.938 kB / 0.7643 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.2512, allocations: 1.68 MB / 0.7659 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2512, allocations: 0 / 0.7659 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.2514, allocations: 43.91 kB / 0.766 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.2524, allocations: 315.4 kB / 0.7663 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.2525, allocations: 8.062 kB / 0.7663 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008193/0.2607, allocations: 7.466 MB / 0.7736 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2607, allocations: 3.938 kB / 0.7736 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.2624, allocations: 0.9763 MB / 0.7745 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.2627, allocations: 180.6 kB / 0.7747 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.2628, allocations: 15.98 kB / 0.7747 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.2631, allocations: 19.92 kB / 0.7748 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2632, allocations: 47.88 kB / 0.7748 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.2632, allocations: 8 kB / 0.7748 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003837/0.2636, allocations: 306.9 kB / 0.7751 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2636, allocations: 0 / 0.7751 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008668/0.2645, allocations: 196 kB / 0.7753 GB, free: 12.24 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002602/0.2671, allocations: 1.525 MB / 0.7768 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.2693, allocations: 1.168 MB / 0.7779 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2693, allocations: 0 / 0.7779 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.2707, allocations: 0.8349 MB / 0.7787 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.2718, allocations: 210.2 kB / 0.7789 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.2818, allocations: 5.82 MB / 0.7846 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008334/0.2827, allocations: 0.9881 MB / 0.7856 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003374/0.283, allocations: 97.17 kB / 0.7857 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.2833, allocations: 223.4 kB / 0.7859 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.2833, allocations: 4 kB / 0.7859 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0624/0.3457, allocations: 15.38 MB / 0.8009 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.12, allocations: 7.938 kB / 0.8009 GB, free: 1.73 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.5271236540284] Failed to read output from testmodel.py, exit status != 0: 11.214392530964687 11.229677906 11.016157458 Calling exit ...