Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001729/0.001729, allocations: 119 kB / 19.69 MB, free: 2.199 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.002123/0.002123, allocations: 222.4 kB / 23.01 MB, free: 5.047 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.001/1.001, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.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_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.002068/0.002068, allocations: 71.45 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2001, allocations: 89.17 MB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0278/0.2279, allocations: 21.21 MB / 0.7491 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01386/0.2418, allocations: 6.717 MB / 0.7556 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.2446, allocations: 115.2 kB / 0.7557 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006957/0.2515, allocations: 2.343 MB / 0.758 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.2557, allocations: 1.244 MB / 0.7593 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.2594, allocations: 1.323 MB / 0.7605 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3874/0.6468, allocations: 4.838 MB / 0.7653 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/0.6513, allocations: 3.184 MB / 0.7684 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.6551, allocations: 2.143 MB / 0.7705 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004973/0.6601, allocations: 2.476 MB / 0.7729 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.6616, allocations: 429.2 kB / 0.7733 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.6648, allocations: 1.023 MB / 0.7743 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002942/0.6678, allocations: 1.703 MB / 0.776 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004635/0.6724, allocations: 1.914 MB / 0.7778 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.6843, allocations: 6.538 MB / 0.7842 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.6843, allocations: 0 / 0.7842 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6843, allocations: 5.156 kB / 0.7842 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003094/0.6846, allocations: 0 / 0.7842 GB, free: 9.859 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01448/0.6991, allocations: 3.469 MB / 0.7876 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.6992, allocations: 10.31 kB / 0.7876 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002495/0.7017, allocations: 450.8 kB / 0.788 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005314/0.707, allocations: 0.6572 MB / 0.7887 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006365/0.7133, allocations: 1.995 MB / 0.7906 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.7136, allocations: 220.3 kB / 0.7908 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/0.7153, allocations: 292.5 kB / 0.7911 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.7291, allocations: 4.887 MB / 0.7959 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001494/0.7292, allocations: 17.52 kB / 0.7959 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009428/0.7302, allocations: 129.4 kB / 0.796 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000476/0.7307, allocations: 233.9 kB / 0.7963 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009872/0.7405, allocations: 3.746 MB / 0.7999 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03577/0.7763, allocations: 21.23 MB / 0.8207 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.7784, allocations: 1.24 MB / 0.8219 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.78, allocations: 0.9878 MB / 0.8228 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-05/0.7801, allocations: 8.906 kB / 0.8228 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/0.7802, allocations: 46.25 kB / 0.8229 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 3.075e-06/0.7802, allocations: 0 / 0.8229 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=138): time 0.02544/0.8056, allocations: 8.435 MB / 0.8311 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.8057, allocations: 68.72 kB / 0.8312 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.8075, allocations: 1.134 MB / 0.8323 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002367/0.8078, allocations: 49.7 kB / 0.8323 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.8089, allocations: 1.338 MB / 0.8336 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005966/0.8095, allocations: 0.4926 MB / 0.8341 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005402/0.81, allocations: 287.5 kB / 0.8344 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8102, allocations: 305.1 kB / 0.8347 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.8117, allocations: 0.9206 MB / 0.8356 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.8135, allocations: 1.321 MB / 0.8369 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.817, allocations: 2.428 MB / 0.8393 GB, free: 236 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.8171, allocations: 4 kB / 0.8393 GB, free: 232 kB / 0.6075 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007142/0.8242, allocations: 3.439 MB / 0.8426 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.8242, allocations: 8 kB / 0.8426 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.8243, allocations: 16 kB / 0.8426 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/0.8279, allocations: 1.186 MB / 0.8438 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.829, allocations: 253.5 kB / 0.844 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/0.8496, allocations: 13.55 MB / 0.8573 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.8516, allocations: 87.97 kB / 0.8574 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.8518, allocations: 64 kB / 0.8574 GB, free: 13.45 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002661/0.8544, allocations: 1.117 MB / 0.8585 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/0.8549, allocations: 167 kB / 0.8587 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006604/0.8615, allocations: 3.136 MB / 0.8617 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.8616, allocations: 16.56 kB / 0.8617 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/0.8616, allocations: 15.94 kB / 0.8618 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.8616, allocations: 3.984 kB / 0.8618 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.8745, allocations: 6.199 MB / 0.8678 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.8745, allocations: 4 kB / 0.8678 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006561/0.8752, allocations: 143.8 kB / 0.868 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003264/0.8785, allocations: 1.067 MB / 0.869 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.8786, allocations: 28 kB / 0.869 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/0.8986, allocations: 13.24 MB / 0.882 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.475e-06/0.8986, allocations: 8 kB / 0.882 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006336/0.9049, allocations: 3.124 MB / 0.885 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.9064, allocations: 358.8 kB / 0.8854 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/0.9068, allocations: 27.94 kB / 0.8854 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009997/0.9078, allocations: 87.88 kB / 0.8855 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/0.9082, allocations: 136.6 kB / 0.8856 GB, free: 124 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.9083, allocations: 36 kB / 0.8856 GB, free: 88 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001607/0.9099, allocations: 0.7632 MB / 0.8864 GB, free: 15.32 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9099, allocations: 0 / 0.8864 GB, free: 15.32 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005757/0.9157, allocations: 0.6602 MB / 0.887 GB, free: 14.66 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009936/0.9256, allocations: 3.705 MB / 0.8906 GB, free: 10.85 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006695/0.9323, allocations: 3.014 MB / 0.8936 GB, free: 7.832 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.9323, allocations: 0 / 0.8936 GB, free: 7.832 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00429/0.9366, allocations: 1.891 MB / 0.8954 GB, free: 5.906 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.9404, allocations: 0.5037 MB / 0.8959 GB, free: 5.445 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03908/0.9794, allocations: 19.18 MB / 0.9146 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003108/0.9825, allocations: 2.336 MB / 0.9169 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001209/0.9838, allocations: 350.1 kB / 0.9173 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/0.9852, allocations: 1.015 MB / 0.9183 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of SimCode: time 1.523e-06/0.9852, allocations: 0 / 0.9183 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1218/1.107, allocations: 54.15 MB / 0.9711 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.48, allocations: 3.859 kB / 0.9711 GB, free: 8.418 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.54405623600178] Failed to read output from testmodel.py, exit status != 0: 15.615589582997927 15.643258501 14.953351841 Calling exit ...