Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0009124/0.0009124, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009124/0.0009124, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9254/0.9254, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5647/0.5647, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 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_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.617e-05, allocations: 2.844 kB / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02221/0.02223, allocations: 32.98 MB / 0.5864 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.03471, allocations: 11.37 MB / 0.5975 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003873/0.03858, allocations: 210.4 kB / 0.5977 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005509/0.04409, allocations: 4.275 MB / 0.6019 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003995/0.04808, allocations: 2.148 MB / 0.604 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.05166, allocations: 2.435 MB / 0.6064 GB, free: 13.17 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005992/0.05765, allocations: 8.614 MB / 0.6148 GB, free: 4.531 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005518/0.06317, allocations: 6.191 MB / 0.6208 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004851/0.06802, allocations: 5.395 MB / 0.6261 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003491/0.07151, allocations: 3.905 MB / 0.6299 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000654/0.07217, allocations: 0.7851 MB / 0.6307 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.07447, allocations: 1.922 MB / 0.6326 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.07624, allocations: 3.274 MB / 0.6358 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.07792, allocations: 2.374 MB / 0.6381 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.007146/0.08507, allocations: 12.24 MB / 0.65 GB, free: 264 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.08507, allocations: 0 / 0.65 GB, free: 264 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/0.08507, allocations: 0 / 0.65 GB, free: 264 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000133/0.0852, allocations: 0 / 0.65 GB, free: 264 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.007309/0.09251, allocations: 5.809 MB / 0.6557 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.09256, allocations: 12.56 kB / 0.6557 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007088/0.09327, allocations: 0.805 MB / 0.6565 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/0.09615, allocations: 1.11 MB / 0.6576 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/0.09991, allocations: 3.422 MB / 0.6609 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.1001, allocations: 407.5 kB / 0.6613 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005238/0.1006, allocations: 0.5393 MB / 0.6618 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00919/0.1098, allocations: 9.38 MB / 0.671 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.146e-05/0.1099, allocations: 35.89 kB / 0.671 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.1102, allocations: 240.1 kB / 0.6713 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002866/0.1105, allocations: 350.8 kB / 0.6716 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006819/0.1174, allocations: 6.814 MB / 0.6783 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2702/0.3876, allocations: 25.08 MB / 0.7027 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.3894, allocations: 2.294 MB / 0.705 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.3907, allocations: 1.776 MB / 0.7067 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.868e-05/0.3907, allocations: 23.62 kB / 0.7067 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3908, allocations: 50.31 kB / 0.7068 GB, free: 133 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 3.346e-06/0.3908, allocations: 0 / 0.7068 GB, free: 133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.01206/0.4028, allocations: 9.68 MB / 0.7162 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.4029, allocations: 74.97 kB / 0.7163 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.4043, allocations: 1.564 MB / 0.7178 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.4044, allocations: 59.61 kB / 0.7179 GB, free: 129 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000686/0.4051, allocations: 2.319 MB / 0.7202 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.4053, allocations: 0.6594 MB / 0.7208 GB, free: 127.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.4057, allocations: 407.2 kB / 0.7212 GB, free: 127 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.659e-05/0.4057, allocations: 302.2 kB / 0.7215 GB, free: 126.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.4068, allocations: 1.181 MB / 0.7226 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.408, allocations: 1.881 MB / 0.7245 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.4104, allocations: 3.372 MB / 0.7278 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/0.4105, allocations: 5.5 kB / 0.7278 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004302/0.4148, allocations: 4.529 MB / 0.7322 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.4148, allocations: 19.67 kB / 0.7322 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.4148, allocations: 25.75 kB / 0.7322 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/0.417, allocations: 1.585 MB / 0.7338 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.4176, allocations: 350.8 kB / 0.7341 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.4309, allocations: 17.93 MB / 0.7516 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008499/0.4317, allocations: 118.4 kB / 0.7517 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-05/0.4318, allocations: 99.31 kB / 0.7518 GB, free: 109.9 MB / 0.6355 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001847/0.4337, allocations: 1.901 MB / 0.7537 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.4338, allocations: 232.7 kB / 0.7539 GB, free: 109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/0.4373, allocations: 4.049 MB / 0.7579 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4373, allocations: 18.03 kB / 0.7579 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4373, allocations: 18.56 kB / 0.7579 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4373, allocations: 7.969 kB / 0.7579 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007218/0.4446, allocations: 8.68 MB / 0.7664 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.4446, allocations: 6.156 kB / 0.7664 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.4449, allocations: 180.3 kB / 0.7666 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.4466, allocations: 1.353 MB / 0.7679 GB, free: 99.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.4466, allocations: 36 kB / 0.7679 GB, free: 99.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009892/0.4565, allocations: 16.72 MB / 0.7843 GB, free: 82.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4565, allocations: 7.938 kB / 0.7843 GB, free: 82.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.4597, allocations: 4.021 MB / 0.7882 GB, free: 78.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.4603, allocations: 482.8 kB / 0.7887 GB, free: 77.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.4604, allocations: 32 kB / 0.7887 GB, free: 77.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/0.4609, allocations: 91.89 kB / 0.7888 GB, free: 77.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/0.4612, allocations: 173.5 kB / 0.7889 GB, free: 77.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.4612, allocations: 48 kB / 0.789 GB, free: 77.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007468/0.462, allocations: 1.005 MB / 0.79 GB, free: 76.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.462, allocations: 0 / 0.79 GB, free: 76.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001948/0.4639, allocations: 0.9844 MB / 0.7909 GB, free: 75.2 MB / 0.6355 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003451/0.4674, allocations: 4.622 MB / 0.7954 GB, free: 70.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003351/0.4707, allocations: 4.153 MB / 0.7995 GB, free: 66.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4707, allocations: 4 kB / 0.7995 GB, free: 66.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.4725, allocations: 2.58 MB / 0.802 GB, free: 63.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.4741, allocations: 0.7787 MB / 0.8028 GB, free: 62.92 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/0.4941, allocations: 27.03 MB / 0.8292 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.4959, allocations: 3.043 MB / 0.8321 GB, free: 31.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000637/0.4966, allocations: 459.9 kB / 0.8326 GB, free: 31.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.4976, allocations: 1.793 MB / 0.8343 GB, free: 29.48 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4976, allocations: 0 / 0.8343 GB, free: 29.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07463/0.5722, allocations: 78.45 MB / 0.9109 GB, free: 15.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.952/9.525, allocations: 18.92 kB / 0.911 GB, free: 15.97 MB / 0.698 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.163839516229928] Failed to read output from testmodel.py, exit status != 0: 9.63584131654352 9.644879391 9.557646897 Calling exit ...