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.001788/0.001788, allocations: 114.5 kB / 17.13 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.002087/0.002087, allocations: 207.2 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.027/1.027, allocations: 150 MB / 459.5 MB, free: 5.68 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,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.002146/0.002146, allocations: 64.34 kB / 0.6361 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1599, allocations: 89.15 MB / 0.7232 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01538/0.1753, allocations: 11.04 MB / 0.734 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.1905, allocations: 8.931 MB / 0.7427 GB, free: 24 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.1918, allocations: 95.17 kB / 0.7428 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004535/0.1963, allocations: 1.691 MB / 0.7444 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.2009, allocations: 1.562 MB / 0.7459 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.2026, allocations: 0.6768 MB / 0.7466 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003018/0.2057, allocations: 2.286 MB / 0.7488 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.2074, allocations: 1.095 MB / 0.7499 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.2094, allocations: 1.195 MB / 0.7511 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.2109, allocations: 1.004 MB / 0.7521 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.2111, allocations: 128 kB / 0.7522 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.2126, allocations: 0.8071 MB / 0.753 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000656/0.2132, allocations: 0.5684 MB / 0.7535 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000923/0.2142, allocations: 0.8706 MB / 0.7544 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.2172, allocations: 2.537 MB / 0.7568 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2172, allocations: 0 / 0.7568 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2172, allocations: 0 / 0.7568 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.765e-05/0.2173, allocations: 0 / 0.7568 GB, free: 1.438 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003433/0.2207, allocations: 2.055 MB / 0.7589 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2207, allocations: 11.97 kB / 0.7589 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002488/0.221, allocations: 190.1 kB / 0.759 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.2328, allocations: 2.051 MB / 0.761 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.2353, allocations: 1.229 MB / 0.7622 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.2353, allocations: 82.69 kB / 0.7623 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.2356, allocations: 123.9 kB / 0.7624 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006014/0.2416, allocations: 2.434 MB / 0.7648 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.2417, allocations: 7.938 kB / 0.7648 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.2418, allocations: 55.98 kB / 0.7649 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004027/0.2422, allocations: 134.1 kB / 0.765 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007872/0.2501, allocations: 2.533 MB / 0.7675 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.2655, allocations: 10.02 MB / 0.7773 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006872/0.2723, allocations: 1.989 MB / 0.7792 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00306/0.2754, allocations: 0.9444 MB / 0.7801 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.2754, allocations: 8.438 kB / 0.7801 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.2755, allocations: 35 kB / 0.7802 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.154e-06/0.2755, allocations: 0 / 0.7802 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03746/0.3129, allocations: 8.822 MB / 0.7888 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.313, allocations: 71.88 kB / 0.7889 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.3144, allocations: 0.9432 MB / 0.7898 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-05/0.3145, allocations: 41.7 kB / 0.7898 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006565/0.3151, allocations: 0.7893 MB / 0.7906 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.3155, allocations: 289.5 kB / 0.7909 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004538/0.3159, allocations: 214.5 kB / 0.7911 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.3161, allocations: 345.9 kB / 0.7914 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/0.3193, allocations: 1.044 MB / 0.7924 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.3228, allocations: 1.35 MB / 0.7937 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006592/0.3294, allocations: 2.418 MB / 0.7961 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3294, allocations: 0 / 0.7961 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.009549/0.339, allocations: 3.231 MB / 0.7993 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.339, allocations: 16 kB / 0.7993 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.339, allocations: 8 kB / 0.7993 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/0.342, allocations: 0.8106 MB / 0.8001 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.344, allocations: 427.2 kB / 0.8005 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/0.3625, allocations: 15.9 MB / 0.816 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.3647, allocations: 291.6 kB / 0.8163 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.3649, allocations: 55.97 kB / 0.8163 GB, free: 1.957 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (88): * Single equations (assignments): 80 * 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.0007722/0.3656, allocations: 411.2 kB / 0.8167 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.3659, allocations: 139.2 kB / 0.8169 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009697/0.3756, allocations: 3.155 MB / 0.8199 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3756, allocations: 8 kB / 0.8199 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/0.3756, allocations: 12 kB / 0.82 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3756, allocations: 3.984 kB / 0.82 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.3879, allocations: 4.837 MB / 0.8247 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.3879, allocations: 4 kB / 0.8247 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/0.3896, allocations: 351.4 kB / 0.825 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/0.3922, allocations: 0.717 MB / 0.8257 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.3923, allocations: 31.97 kB / 0.8258 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/0.41, allocations: 15.5 MB / 0.8409 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.41, allocations: 3.938 kB / 0.8409 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009238/0.4192, allocations: 3.012 MB / 0.8438 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007569/0.42, allocations: 364.1 kB / 0.8442 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/0.4203, allocations: 27.89 kB / 0.8442 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/0.4222, allocations: 283.7 kB / 0.8445 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.4225, allocations: 80.5 kB / 0.8446 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.4226, allocations: 39.97 kB / 0.8446 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001047/0.4237, allocations: 0.6362 MB / 0.8452 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.4237, allocations: 0 / 0.8452 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001651/0.4253, allocations: 416 kB / 0.8456 GB, free: 2.562 MB / 0.6544 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.00939/0.4347, allocations: 3.57 MB / 0.8491 GB, free: 14.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00939/0.4441, allocations: 3.51 MB / 0.8525 GB, free: 11.29 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.4441, allocations: 4 kB / 0.8525 GB, free: 11.29 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005841/0.45, allocations: 2.329 MB / 0.8548 GB, free: 8.848 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.4526, allocations: 492.6 kB / 0.8553 GB, free: 8.398 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3764/0.829, allocations: 15.59 MB / 0.8705 GB, free: 128.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.8304, allocations: 1.395 MB / 0.8719 GB, free: 127.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00136/0.8318, allocations: 364.6 kB / 0.8722 GB, free: 127.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008874/0.8327, allocations: 0.5908 MB / 0.8728 GB, free: 127.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.292e-06/0.8327, allocations: 0.7188 kB / 0.8728 GB, free: 127.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09529/0.928, allocations: 39.06 MB / 0.9109 GB, free: 102.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/16.07, allocations: 6.5 kB / 0.9109 GB, free: 102.8 MB / 0.67 GB " [Timeout remaining time 644] (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: 20.146984199993312] Failed to read output from testmodel.py, exit status != 0: 16.176168103003874 16.1862902 15.966884564 Calling exit ...