Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001369/0.001369, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001578/0.001578, allocations: 214.9 kB / 22.99 MB, free: 4.605 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 / 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.085/1.085, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 178] 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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.00207/0.00207, allocations: 63.38 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.198, allocations: 89.18 MB / 0.7282 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0149/0.2129, allocations: 10.31 MB / 0.7382 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.2277, allocations: 8.5 MB / 0.7465 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.2294, allocations: 87.25 kB / 0.7466 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004841/0.2342, allocations: 1.664 MB / 0.7482 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00539/0.2396, allocations: 1.568 MB / 0.7498 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.2422, allocations: 0.6766 MB / 0.7504 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004084/0.2463, allocations: 2.298 MB / 0.7527 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.2491, allocations: 1.152 MB / 0.7538 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.2522, allocations: 1.172 MB / 0.7549 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.2548, allocations: 0.9257 MB / 0.7559 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006345/0.2554, allocations: 140 kB / 0.756 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.258, allocations: 0.7368 MB / 0.7567 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.2594, allocations: 0.5685 MB / 0.7573 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003467/0.2628, allocations: 0.7231 MB / 0.758 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3709/0.6337, allocations: 2.579 MB / 0.7605 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.6337, allocations: 2.219 kB / 0.7605 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6337, allocations: 0.7188 kB / 0.7605 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000113/0.6338, allocations: 0 / 0.7605 GB, free: 11.23 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003456/0.6373, allocations: 1.983 MB / 0.7624 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6373, allocations: 12.75 kB / 0.7624 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.6375, allocations: 185.9 kB / 0.7626 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.6485, allocations: 2.055 MB / 0.7646 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.6512, allocations: 1.121 MB / 0.7657 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.6512, allocations: 88.02 kB / 0.7658 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.6515, allocations: 120 kB / 0.7659 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005659/0.6571, allocations: 2.698 MB / 0.7686 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/0.6572, allocations: 10.88 kB / 0.7686 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.6573, allocations: 51.34 kB / 0.7686 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003743/0.6577, allocations: 130.7 kB / 0.7687 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007321/0.665, allocations: 2.543 MB / 0.7712 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.679, allocations: 7.678 MB / 0.7787 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006444/0.6854, allocations: 1.845 MB / 0.7805 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003054/0.6885, allocations: 0.9479 MB / 0.7814 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.6885, allocations: 10.22 kB / 0.7815 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.6886, allocations: 42.19 kB / 0.7815 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.6886, allocations: 0 / 0.7815 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.032/0.7206, allocations: 9.118 MB / 0.7904 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.7206, allocations: 65.84 kB / 0.7905 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.7227, allocations: 1.117 MB / 0.7916 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.7229, allocations: 36.36 kB / 0.7916 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.7234, allocations: 0.7465 MB / 0.7923 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.7238, allocations: 299 kB / 0.7926 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/0.7243, allocations: 203.5 kB / 0.7928 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.7244, allocations: 343.4 kB / 0.7931 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/0.7274, allocations: 1.081 MB / 0.7942 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/0.7304, allocations: 1.32 MB / 0.7955 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006026/0.7364, allocations: 2.401 MB / 0.7978 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.7364, allocations: 3.625 kB / 0.7978 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008864/0.7453, allocations: 3.29 MB / 0.801 GB, free: 320 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.7453, allocations: 15 kB / 0.801 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.7453, allocations: 6.344 kB / 0.801 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/0.7484, allocations: 0.8529 MB / 0.8019 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.7504, allocations: 416 kB / 0.8023 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.7682, allocations: 15.21 MB / 0.8171 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.7707, allocations: 293.4 kB / 0.8174 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.771, allocations: 55.17 kB / 0.8175 GB, free: 2.309 MB / 0.5919 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0009916/0.772, allocations: 402.3 kB / 0.8178 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004353/0.7724, allocations: 151.2 kB / 0.818 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009146/0.7816, allocations: 3.205 MB / 0.8211 GB, free: 136 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.7816, allocations: 18.05 kB / 0.8211 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/0.7816, allocations: 7.5 kB / 0.8211 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.7816, allocations: 3.984 kB / 0.8211 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.7939, allocations: 4.685 MB / 0.8257 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.7939, allocations: 5.25 kB / 0.8257 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/0.7957, allocations: 355.1 kB / 0.8261 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002925/0.7986, allocations: 0.771 MB / 0.8268 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.7987, allocations: 31.97 kB / 0.8268 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/0.8161, allocations: 14.82 MB / 0.8413 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.8161, allocations: 4 kB / 0.8413 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008825/0.8249, allocations: 3.063 MB / 0.8443 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.8261, allocations: 314.8 kB / 0.8446 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/0.8265, allocations: 16 kB / 0.8446 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/0.8287, allocations: 291.5 kB / 0.8449 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.829, allocations: 87.81 kB / 0.845 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.8291, allocations: 42.64 kB / 0.845 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001251/0.8304, allocations: 0.7366 MB / 0.8458 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8304, allocations: 0 / 0.8458 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001969/0.8324, allocations: 454.1 kB / 0.8462 GB, free: 7.551 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.009725/0.8421, allocations: 3.626 MB / 0.8497 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009277/0.8514, allocations: 3.558 MB / 0.8532 GB, free: 252 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.8514, allocations: 1.984 kB / 0.8532 GB, free: 252 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005406/0.8568, allocations: 2.329 MB / 0.8555 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.8595, allocations: 0.5208 MB / 0.856 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04157/0.901, allocations: 16.25 MB / 0.8719 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/0.9025, allocations: 0.7982 MB / 0.8726 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001489/0.904, allocations: 383.9 kB / 0.873 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.9051, allocations: 0.593 MB / 0.8736 GB, free: 11 MB / 0.6544 GB Notification: Performance of SimCode: time 1.884e-06/0.9051, allocations: 0 / 0.8736 GB, free: 11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/1.024, allocations: 46.1 MB / 0.9186 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.03, allocations: 8.844 kB / 0.9186 GB, free: 13.8 MB / 0.7012 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.26433106092736] Failed to read output from testmodel.py, exit status != 0: 14.17268601898104 14.203187563 13.564727107 Calling exit ...