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.00155/0.00155, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001543/0.001543, allocations: 218.6 kB / 22.99 MB, free: 4.973 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.496/1.496, 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.001/1.001, allocations: 149.9 MB / 463.1 MB, free: 10.38 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.00229/0.00229, allocations: 67.39 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1904, allocations: 89.17 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0265/0.2169, allocations: 19.51 MB / 0.7472 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.229, allocations: 6.477 MB / 0.7535 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.231, allocations: 111.2 kB / 0.7537 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006488/0.2375, allocations: 2.243 MB / 0.7558 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.2413, allocations: 1.244 MB / 0.7571 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.2448, allocations: 1.29 MB / 0.7583 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4101/0.655, allocations: 4.843 MB / 0.763 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004446/0.6594, allocations: 3.145 MB / 0.7661 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.6629, allocations: 2.162 MB / 0.7682 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00449/0.6674, allocations: 2.331 MB / 0.7705 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.6686, allocations: 429.7 kB / 0.7709 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.6712, allocations: 0.9413 MB / 0.7718 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002148/0.6734, allocations: 1.708 MB / 0.7735 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.6763, allocations: 1.555 MB / 0.775 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.6872, allocations: 6.564 MB / 0.7814 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6872, allocations: 0 / 0.7814 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.865e-06/0.6872, allocations: 0 / 0.7814 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003873/0.6876, allocations: 0.6875 kB / 0.7814 GB, free: 9.664 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.01564/0.7032, allocations: 3.469 MB / 0.7848 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.7033, allocations: 9.844 kB / 0.7848 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001878/0.7051, allocations: 455.7 kB / 0.7853 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/0.7093, allocations: 0.6569 MB / 0.7859 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/0.7143, allocations: 1.994 MB / 0.7879 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.7145, allocations: 223.4 kB / 0.7881 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006389/0.7152, allocations: 286.6 kB / 0.7883 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009565/0.7247, allocations: 5.254 MB / 0.7935 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.332e-05/0.7248, allocations: 11.27 kB / 0.7935 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003863/0.7252, allocations: 131.3 kB / 0.7936 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004725/0.7257, allocations: 231 kB / 0.7938 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006405/0.7321, allocations: 3.746 MB / 0.7975 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0199/0.752, allocations: 13.57 MB / 0.8107 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.7538, allocations: 1.228 MB / 0.8119 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.7551, allocations: 0.9825 MB / 0.8129 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.928e-05/0.7551, allocations: 10.62 kB / 0.8129 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.7552, allocations: 46.34 kB / 0.8129 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 2.665e-06/0.7552, allocations: 0 / 0.8129 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=138): time 0.02446/0.7797, allocations: 8.443 MB / 0.8212 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.7797, allocations: 67.75 kB / 0.8213 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.7817, allocations: 1.152 MB / 0.8224 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.7818, allocations: 53.7 kB / 0.8224 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.783, allocations: 1.332 MB / 0.8237 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006058/0.7836, allocations: 0.4905 MB / 0.8242 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005957/0.7842, allocations: 295.5 kB / 0.8245 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7843, allocations: 305.1 kB / 0.8248 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.7857, allocations: 0.9135 MB / 0.8257 GB, free: 148 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.7876, allocations: 1.326 MB / 0.827 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003592/0.7912, allocations: 2.429 MB / 0.8293 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.7912, allocations: 4 kB / 0.8293 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007074/0.7983, allocations: 3.431 MB / 0.8327 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.7983, allocations: 12 kB / 0.8327 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/0.7984, allocations: 13 kB / 0.8327 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003425/0.8018, allocations: 1.178 MB / 0.8339 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.8029, allocations: 261.4 kB / 0.8341 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/0.8228, allocations: 13.35 MB / 0.8472 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.8246, allocations: 92.53 kB / 0.8472 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.8247, allocations: 60 kB / 0.8473 GB, free: 9.539 MB / 0.6231 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.002378/0.8271, allocations: 1.116 MB / 0.8484 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/0.8275, allocations: 171 kB / 0.8486 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006218/0.8337, allocations: 3.133 MB / 0.8516 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.8338, allocations: 22 kB / 0.8516 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.8338, allocations: 12 kB / 0.8516 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.8338, allocations: 7.922 kB / 0.8517 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.8464, allocations: 5.908 MB / 0.8574 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.8464, allocations: 4 kB / 0.8574 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.847, allocations: 151.1 kB / 0.8576 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003029/0.8501, allocations: 1.072 MB / 0.8586 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.8502, allocations: 24 kB / 0.8586 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/0.8689, allocations: 13.05 MB / 0.8714 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.869, allocations: 4 kB / 0.8714 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006791/0.8757, allocations: 3.123 MB / 0.8744 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.8774, allocations: 358.8 kB / 0.8748 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007405/0.8781, allocations: 35.94 kB / 0.8748 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.8793, allocations: 79.89 kB / 0.8749 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/0.8797, allocations: 128.3 kB / 0.875 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.8798, allocations: 42.53 kB / 0.875 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001228/0.881, allocations: 0.7671 MB / 0.8758 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.881, allocations: 0 / 0.8758 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002588/0.8836, allocations: 0.6641 MB / 0.8764 GB, free: 11.36 MB / 0.6544 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.005932/0.8896, allocations: 3.706 MB / 0.8801 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005222/0.8948, allocations: 3.007 MB / 0.883 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.8948, allocations: 4 kB / 0.883 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003144/0.8979, allocations: 1.884 MB / 0.8848 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.9003, allocations: 0.5039 MB / 0.8853 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/0.9329, allocations: 19.18 MB / 0.9041 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/0.9354, allocations: 1.765 MB / 0.9058 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001155/0.9365, allocations: 350.1 kB / 0.9061 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.9379, allocations: 1.007 MB / 0.9071 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of SimCode: time 9.11e-07/0.9379, allocations: 4 kB / 0.9071 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/1.058, allocations: 55.86 MB / 0.9617 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.21, allocations: 11.94 kB / 0.9617 GB, free: 4.258 MB / 0.7325 GB " [Timeout remaining time 646] (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: 18.245645840186626] Failed to read output from testmodel.py, exit status != 0: 14.357391254976392 14.375924245 13.684938762 Calling exit ...