Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001475/0.001475, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001528/0.001528, allocations: 214.2 kB / 22.99 MB, free: 4.605 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9597/0.9597, 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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.002153/0.002153, allocations: 66.55 kB / 0.6411 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1646, allocations: 89.18 MB / 0.7282 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04283/0.2075, allocations: 31.67 MB / 0.7591 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3767/0.5842, allocations: 14.45 MB / 0.7732 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00474/0.5889, allocations: 212.9 kB / 0.7734 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009967/0.5989, allocations: 3.668 MB / 0.777 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.6098, allocations: 2.986 MB / 0.7799 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008382/0.6182, allocations: 2.338 MB / 0.7822 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01389/0.6321, allocations: 8.811 MB / 0.7908 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01114/0.6432, allocations: 5.484 MB / 0.7962 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00892/0.6522, allocations: 4.233 MB / 0.8003 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009089/0.6613, allocations: 3.927 MB / 0.8041 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003289/0.6645, allocations: 0.7159 MB / 0.8048 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005797/0.6703, allocations: 1.612 MB / 0.8064 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005171/0.6755, allocations: 2.89 MB / 0.8092 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009169/0.6847, allocations: 2.75 MB / 0.8119 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02292/0.7076, allocations: 11.25 MB / 0.8229 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.7076, allocations: 3 kB / 0.8229 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7076, allocations: 0 / 0.8229 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003749/0.708, allocations: 3.938 kB / 0.8229 GB, free: 5.586 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01904/0.727, allocations: 6.035 MB / 0.8288 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.7271, allocations: 8.031 kB / 0.8288 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003309/0.7304, allocations: 0.731 MB / 0.8295 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008542/0.7389, allocations: 1.172 MB / 0.8307 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009737/0.7487, allocations: 3.447 MB / 0.834 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004417/0.7491, allocations: 374.8 kB / 0.8344 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/0.7513, allocations: 499.7 kB / 0.8349 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02106/0.7723, allocations: 8.707 MB / 0.8434 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/0.7726, allocations: 27.77 kB / 0.8434 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00187/0.7745, allocations: 216 kB / 0.8436 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/0.7757, allocations: 437.6 kB / 0.844 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.79, allocations: 6.073 MB / 0.8499 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04583/0.8358, allocations: 22.04 MB / 0.8715 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.8391, allocations: 1.913 MB / 0.8733 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/0.8419, allocations: 1.738 MB / 0.875 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.8421, allocations: 22 kB / 0.875 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/0.8422, allocations: 64.45 kB / 0.8751 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=171): time 4.087e-06/0.8422, allocations: 0 / 0.8751 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=276): time 0.1602/1.002, allocations: 38.7 MB / 0.9129 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/1.002, allocations: 81.58 kB / 0.913 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/1.006, allocations: 2.324 MB / 0.9152 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004905/1.007, allocations: 73.7 kB / 0.9153 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001883/1.008, allocations: 2.342 MB / 0.9176 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.01, allocations: 0.9777 MB / 0.9186 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009822/1.01, allocations: 0.5103 MB / 0.9191 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.011, allocations: 307.4 kB / 0.9193 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003089/1.014, allocations: 1.97 MB / 0.9213 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/1.017, allocations: 2.599 MB / 0.9238 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007116/1.024, allocations: 4.939 MB / 0.9286 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/1.024, allocations: 7.938 kB / 0.9286 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01623/1.041, allocations: 7.65 MB / 0.9361 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/1.041, allocations: 12.19 kB / 0.9361 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/1.041, allocations: 20 kB / 0.9361 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009822/1.051, allocations: 3.206 MB / 0.9393 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.052, allocations: 403.3 kB / 0.9397 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04959/1.102, allocations: 32.75 MB / 0.9716 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/1.105, allocations: 167.8 kB / 0.9718 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003388/1.105, allocations: 104 kB / 0.9719 GB, free: 12.46 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004759/1.11, allocations: 1.801 MB / 0.9737 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.111, allocations: 345.9 kB / 0.974 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02318/1.134, allocations: 7.243 MB / 0.9811 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.041e-05/1.134, allocations: 35.98 kB / 0.9811 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8e-05/1.134, allocations: 28 kB / 0.9811 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-05/1.134, allocations: 11.95 kB / 0.9811 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02769/1.162, allocations: 12.14 MB / 0.993 GB, free: 6.594 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/1.162, allocations: 8 kB / 0.993 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009929/1.163, allocations: 223.6 kB / 0.9932 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008522/1.172, allocations: 2.851 MB / 0.996 GB, free: 3.5 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003312/1.172, allocations: 52.12 kB / 0.996 GB, free: 3.449 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04613/1.218, allocations: 31.55 MB / 1.027 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/1.218, allocations: 11.94 kB / 1.027 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/1.231, allocations: 6.782 MB / 1.033 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/1.234, allocations: 0.7281 MB / 1.034 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007765/1.235, allocations: 56 kB / 1.034 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.237, allocations: 163.8 kB / 1.034 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008824/1.237, allocations: 265.3 kB / 1.035 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.238, allocations: 76.75 kB / 1.035 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002372/1.24, allocations: 1.529 MB / 1.036 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/1.24, allocations: 0 / 1.036 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004725/1.245, allocations: 1.367 MB / 1.038 GB, free: 8.02 MB / 0.8106 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01389/1.259, allocations: 7.408 MB / 1.045 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01328/1.272, allocations: 6.575 MB / 1.051 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.272, allocations: 0 / 1.051 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008137/1.28, allocations: 4.253 MB / 1.055 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/1.285, allocations: 1.118 MB / 1.056 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3915/1.677, allocations: 39.05 MB / 1.095 GB, free: 268.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004358/1.681, allocations: 3.113 MB / 1.098 GB, free: 268.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001923/1.683, allocations: 0.5574 MB / 1.098 GB, free: 268.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/1.685, allocations: 1.972 MB / 1.1 GB, free: 268.2 MB / 0.8419 GB Notification: Performance of SimCode: time 1.072e-06/1.685, allocations: 1.312 kB / 1.1 GB, free: 268.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.181/1.866, allocations: 119 MB / 1.216 GB, free: 178.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/18.25, allocations: 15.69 kB / 1.216 GB, free: 178.9 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.150977070908993] Failed to read output from testmodel.py, exit status != 0: 18.428789828903973 18.448496352 17.736672733 Calling exit ...