Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001432/0.001432, 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.001513/0.001513, allocations: 220.9 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.012 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 0.9698/0.9698, allocations: 150 MB / 463.2 MB, free: 10.53 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_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.002162/0.002162, allocations: 60.19 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1908, allocations: 89.18 MB / 0.7284 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4225/0.6132, allocations: 39.77 MB / 0.7672 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.6311, allocations: 11.44 MB / 0.7784 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004501/0.6356, allocations: 208.8 kB / 0.7786 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01373/0.6493, allocations: 4.56 MB / 0.783 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.6617, allocations: 2.331 MB / 0.7853 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009463/0.6712, allocations: 2.252 MB / 0.7875 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01809/0.6893, allocations: 9.287 MB / 0.7966 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01662/0.7059, allocations: 6.405 MB / 0.8028 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01207/0.718, allocations: 4.097 MB / 0.8068 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.7315, allocations: 4.76 MB / 0.8115 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.005636/0.7371, allocations: 0.8264 MB / 0.8123 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009669/0.7468, allocations: 1.604 MB / 0.8139 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.009313/0.7561, allocations: 3.236 MB / 0.817 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01398/0.7701, allocations: 3.655 MB / 0.8206 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0281/0.7982, allocations: 12.34 MB / 0.8326 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.7982, allocations: 3.984 kB / 0.8326 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7982, allocations: 3.938 kB / 0.8326 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004163/0.7986, allocations: 0 / 0.8326 GB, free: 15.77 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02487/0.8235, allocations: 6.403 MB / 0.8389 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.8236, allocations: 11.97 kB / 0.8389 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003529/0.8271, allocations: 0.8255 MB / 0.8397 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006924/0.834, allocations: 1.098 MB / 0.8408 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.8445, allocations: 3.568 MB / 0.8443 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005836/0.8451, allocations: 424.5 kB / 0.8447 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/0.8475, allocations: 0.5394 MB / 0.8452 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02439/0.8719, allocations: 9.387 MB / 0.8544 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002892/0.8721, allocations: 23.77 kB / 0.8544 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001924/0.8741, allocations: 244 kB / 0.8546 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007677/0.8748, allocations: 418.9 kB / 0.855 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.8921, allocations: 7.123 MB / 0.862 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05685/0.9489, allocations: 40.7 MB / 0.9017 GB, free: 4.809 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005133/0.9541, allocations: 2.913 MB / 0.9046 GB, free: 1.887 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/0.9573, allocations: 1.934 MB / 0.9065 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.9574, allocations: 22 kB / 0.9065 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.889e-05/0.9575, allocations: 60.56 kB / 0.9065 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=209): time 3.667e-06/0.9575, allocations: 0 / 0.9065 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=212): time 0.02779/0.9853, allocations: 10.28 MB / 0.9166 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.9854, allocations: 77.41 kB / 0.9167 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003558/0.9889, allocations: 2.006 MB / 0.9186 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004013/0.9893, allocations: 61.7 kB / 0.9187 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00207/0.9914, allocations: 2.478 MB / 0.9211 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001064/0.9925, allocations: 0.7669 MB / 0.9218 GB, free: 120 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008721/0.9933, allocations: 477.5 kB / 0.9223 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9935, allocations: 305.1 kB / 0.9226 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.9957, allocations: 1.368 MB / 0.9239 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.9986, allocations: 2.112 MB / 0.926 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005633/1.004, allocations: 3.766 MB / 0.9297 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/1.004, allocations: 4 kB / 0.9297 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009284/1.014, allocations: 5.034 MB / 0.9346 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/1.014, allocations: 12 kB / 0.9346 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/1.014, allocations: 24 kB / 0.9346 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003729/1.017, allocations: 1.583 MB / 0.9362 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/1.019, allocations: 451.2 kB / 0.9366 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02544/1.045, allocations: 18.19 MB / 0.9544 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/1.047, allocations: 143.9 kB / 0.9545 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/1.047, allocations: 112 kB / 0.9546 GB, free: 13.45 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003489/1.051, allocations: 1.944 MB / 0.9565 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005994/1.051, allocations: 306.2 kB / 0.9568 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007863/1.059, allocations: 4.4 MB / 0.9611 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/1.059, allocations: 20 kB / 0.9611 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.961e-05/1.059, allocations: 16 kB / 0.9611 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/1.059, allocations: 7.969 kB / 0.9611 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/1.077, allocations: 9.613 MB / 0.9705 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.077, allocations: 4 kB / 0.9705 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/1.078, allocations: 235.6 kB / 0.9707 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00352/1.082, allocations: 1.423 MB / 0.9721 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/1.082, allocations: 40.09 kB / 0.9722 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02566/1.108, allocations: 18.19 MB / 0.9899 GB, free: 8.609 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/1.108, allocations: 7.938 kB / 0.9899 GB, free: 8.602 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00941/1.117, allocations: 4.503 MB / 0.9943 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.119, allocations: 0.58 MB / 0.9949 GB, free: 3.434 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008416/1.12, allocations: 39.98 kB / 0.9949 GB, free: 3.395 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/1.122, allocations: 115.9 kB / 0.9951 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006227/1.122, allocations: 185.5 kB / 0.9952 GB, free: 3.098 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.123, allocations: 64.25 kB / 0.9953 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002217/1.125, allocations: 1.319 MB / 0.9966 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7.1e-08/1.125, allocations: 0 / 0.9966 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004188/1.129, allocations: 1.137 MB / 0.9977 GB, free: 0.5703 MB / 0.7637 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009076/1.138, allocations: 5.118 MB / 1.003 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008994/1.147, allocations: 4.543 MB / 1.007 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.147, allocations: 0 / 1.007 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.005511/1.153, allocations: 2.805 MB / 1.01 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/1.157, allocations: 0.8902 MB / 1.011 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05847/1.216, allocations: 30.57 MB / 1.041 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005659/1.221, allocations: 3.69 MB / 1.044 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001948/1.223, allocations: 0.5557 MB / 1.045 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/1.226, allocations: 1.944 MB / 1.047 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of SimCode: time 1.162e-06/1.226, allocations: 0 / 1.047 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6115/1.837, allocations: 88.19 MB / 1.133 GB, free: 252.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/18.94, allocations: 7.938 kB / 1.133 GB, free: 252.8 MB / 0.8419 GB " [Timeout remaining time 641] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.960293314998125] Failed to read output from testmodel.py, exit status != 0: 19.102261443000316 19.115741867 18.314007523 Calling exit ...