Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.001394/0.001394, allocations: 111.3 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.001607/0.001607, allocations: 204 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.602/1.602, 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.009/1.009, allocations: 150 MB / 459.5 MB, free: 5.273 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_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.002276/0.002276, allocations: 67.28 kB / 0.6361 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2142, allocations: 89.13 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04155/0.2558, allocations: 31.24 MB / 0.7537 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02669/0.2824, allocations: 13.74 MB / 0.7671 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00451/0.287, allocations: 198.4 kB / 0.7673 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009864/0.2968, allocations: 3.248 MB / 0.7705 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009109/0.3059, allocations: 2.764 MB / 0.7732 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006133/0.3121, allocations: 2.013 MB / 0.7751 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.3243, allocations: 7.617 MB / 0.7826 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.3356, allocations: 6.144 MB / 0.7886 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007186/0.3428, allocations: 3.669 MB / 0.7922 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006522/0.3494, allocations: 3.508 MB / 0.7956 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002182/0.3515, allocations: 0.582 MB / 0.7962 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004658/0.3562, allocations: 1.517 MB / 0.7976 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004697/0.3609, allocations: 2.392 MB / 0.8 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006976/0.3679, allocations: 2.863 MB / 0.8028 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01708/0.3849, allocations: 9.418 MB / 0.812 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.385, allocations: 3.984 kB / 0.812 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.294e-06/0.385, allocations: 0 / 0.812 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003097/0.3853, allocations: 4 kB / 0.812 GB, free: 8.723 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01335/0.3986, allocations: 5.231 MB / 0.8171 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3987, allocations: 8.031 kB / 0.8171 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001289/0.3999, allocations: 0.6203 MB / 0.8177 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005816/0.4058, allocations: 0.993 MB / 0.8187 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006455/0.4122, allocations: 3.101 MB / 0.8217 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.4125, allocations: 316.8 kB / 0.822 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009463/0.4134, allocations: 423.8 kB / 0.8224 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.4261, allocations: 6.748 MB / 0.829 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.4262, allocations: 15.89 kB / 0.829 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.4267, allocations: 188 kB / 0.8292 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000991/0.4277, allocations: 372 kB / 0.8295 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.4381, allocations: 5.095 MB / 0.8345 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4042/0.8423, allocations: 30.45 MB / 0.8642 GB, free: 123.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.8453, allocations: 1.52 MB / 0.8657 GB, free: 123.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.8473, allocations: 1.238 MB / 0.8669 GB, free: 123.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.8475, allocations: 14.47 kB / 0.867 GB, free: 123.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.8475, allocations: 46.16 kB / 0.867 GB, free: 123.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=130): time 3.296e-06/0.8475, allocations: 0.7812 kB / 0.867 GB, free: 123.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=199): time 0.08582/0.9333, allocations: 22.4 MB / 0.8889 GB, free: 118.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.9334, allocations: 72.25 kB / 0.8889 GB, free: 118.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.9357, allocations: 1.822 MB / 0.8907 GB, free: 117.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.9358, allocations: 57.14 kB / 0.8908 GB, free: 117.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008916/0.9367, allocations: 2.098 MB / 0.8928 GB, free: 115.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004788/0.9372, allocations: 0.716 MB / 0.8935 GB, free: 115.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005896/0.9378, allocations: 415.3 kB / 0.8939 GB, free: 115.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.9378, allocations: 305.1 kB / 0.8942 GB, free: 114.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.9394, allocations: 1.333 MB / 0.8955 GB, free: 114.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.9416, allocations: 2.016 MB / 0.8975 GB, free: 112.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/0.9453, allocations: 3.654 MB / 0.901 GB, free: 109.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.9453, allocations: 8 kB / 0.9011 GB, free: 109.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00898/0.9543, allocations: 5.413 MB / 0.9063 GB, free: 104.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.9543, allocations: 12 kB / 0.9064 GB, free: 104.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.9544, allocations: 32.03 kB / 0.9064 GB, free: 104.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005574/0.9599, allocations: 1.947 MB / 0.9083 GB, free: 102.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.9613, allocations: 396.1 kB / 0.9087 GB, free: 101.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03025/0.9915, allocations: 37.87 MB / 0.9456 GB, free: 61.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.9942, allocations: 122.2 kB / 0.9458 GB, free: 61.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004392/0.9947, allocations: 96 kB / 0.9458 GB, free: 61.38 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (209): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002677/0.9973, allocations: 1.519 MB / 0.9473 GB, free: 59.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/0.998, allocations: 283.7 kB / 0.9476 GB, free: 59.58 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008824/1.007, allocations: 5.011 MB / 0.9525 GB, free: 54.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.007, allocations: 20 kB / 0.9525 GB, free: 54.48 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.199e-05/1.007, allocations: 24 kB / 0.9525 GB, free: 54.46 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/1.007, allocations: 7.969 kB / 0.9525 GB, free: 54.45 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/1.024, allocations: 9.325 MB / 0.9617 GB, free: 44.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.024, allocations: 8.125 kB / 0.9617 GB, free: 44.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/1.025, allocations: 211.7 kB / 0.9619 GB, free: 44.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004758/1.029, allocations: 1.724 MB / 0.9635 GB, free: 42.97 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002293/1.03, allocations: 40 kB / 0.9636 GB, free: 42.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03002/1.06, allocations: 36.83 MB / 0.9996 GB, free: 3.625 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.06, allocations: 15.92 kB / 0.9996 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009169/1.069, allocations: 4.727 MB / 1.004 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/1.071, allocations: 0.5773 MB / 1.005 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008355/1.072, allocations: 43.98 kB / 1.005 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.073, allocations: 111.9 kB / 1.005 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008927/1.074, allocations: 189.5 kB / 1.005 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/1.075, allocations: 56 kB / 1.005 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002595/1.077, allocations: 1.206 MB / 1.006 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/1.077, allocations: 0 / 1.006 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005076/1.082, allocations: 0.9766 MB / 1.007 GB, free: 11.54 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,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.01112/1.093, allocations: 5.333 MB / 1.012 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.106, allocations: 5.895 MB / 1.018 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.106, allocations: 0 / 1.018 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007909/1.114, allocations: 4.238 MB / 1.022 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004819/1.118, allocations: 0.9082 MB / 1.023 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06543/1.184, allocations: 29.09 MB / 1.052 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005822/1.19, allocations: 3.118 MB / 1.055 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002123/1.192, allocations: 0.495 MB / 1.055 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002717/1.194, allocations: 1.651 MB / 1.057 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/1.194, allocations: 3.938 kB / 1.057 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2788/1.473, allocations: 84.51 MB / 1.139 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/17.05, allocations: 7.922 kB / 1.139 GB, free: 3.305 MB / 0.8106 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.35347183304839] Failed to read output from testmodel.py, exit status != 0: 17.18356999894604 17.206830069 16.817203498 Calling exit ...