Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001364/0.001364, allocations: 108.5 kB / 17.12 MB, free: 5.926 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.001412/0.001412, allocations: 205 kB / 20.09 MB, free: 2.977 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.005/1.005, allocations: 150 MB / 459.5 MB, free: 5.309 MB / 350.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_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.001997/0.001997, allocations: 69.53 kB / 0.6361 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1734, allocations: 89.14 MB / 0.7232 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04593/0.2193, allocations: 38.17 MB / 0.7605 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02418/0.2435, allocations: 13.24 MB / 0.7734 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004374/0.2479, allocations: 226.2 kB / 0.7736 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01088/0.2587, allocations: 3.951 MB / 0.7775 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007948/0.2667, allocations: 2.62 MB / 0.78 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007158/0.2739, allocations: 2.714 MB / 0.7827 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01413/0.288, allocations: 9.587 MB / 0.792 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.3029, allocations: 7.684 MB / 0.7995 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007964/0.3109, allocations: 4.117 MB / 0.8036 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008697/0.3196, allocations: 4.673 MB / 0.8081 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002466/0.3221, allocations: 0.7734 MB / 0.8089 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/0.3272, allocations: 1.81 MB / 0.8106 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00515/0.3324, allocations: 3.106 MB / 0.8137 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007352/0.3397, allocations: 3.583 MB / 0.8172 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01705/0.3568, allocations: 11.9 MB / 0.8288 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3568, allocations: 0 / 0.8288 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3568, allocations: 0 / 0.8288 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003959/0.3572, allocations: 0 / 0.8288 GB, free: 7.539 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01987/0.3771, allocations: 6.516 MB / 0.8352 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3771, allocations: 12.03 kB / 0.8352 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001953/0.3791, allocations: 0.7519 MB / 0.8359 GB, free: 172 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00879/0.3879, allocations: 1.33 MB / 0.8372 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008577/0.3964, allocations: 3.809 MB / 0.8409 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.3968, allocations: 378.5 kB / 0.8413 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.3983, allocations: 0.4964 MB / 0.8418 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.4161, allocations: 8.892 MB / 0.8504 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.4163, allocations: 31.7 kB / 0.8505 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007826/0.4171, allocations: 223.9 kB / 0.8507 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002464/0.4195, allocations: 0.6304 MB / 0.8513 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.4349, allocations: 7.01 MB / 0.8582 GB, free: 8.934 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4375/0.8725, allocations: 40.12 MB / 0.8973 GB, free: 96.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/0.8772, allocations: 2.645 MB / 0.8999 GB, free: 95.13 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003636/0.8808, allocations: 2.419 MB / 0.9023 GB, free: 94.17 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/0.8812, allocations: 26.84 kB / 0.9023 GB, free: 94.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.8812, allocations: 71.88 kB / 0.9024 GB, free: 94.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=265): time 4.889e-06/0.8812, allocations: 1.781 kB / 0.9024 GB, free: 94.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=424): time 0.2942/1.175, allocations: 74.6 MB / 0.9752 GB, free: 30.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/1.175, allocations: 99.48 kB / 0.9753 GB, free: 30.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/1.178, allocations: 2.36 MB / 0.9776 GB, free: 27.86 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008183/1.179, allocations: 93.7 kB / 0.9777 GB, free: 27.76 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/1.18, allocations: 2.406 MB / 0.9801 GB, free: 25.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00159/1.182, allocations: 1.51 MB / 0.9815 GB, free: 24.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/1.184, allocations: 0.7256 MB / 0.9823 GB, free: 23.51 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.792e-05/1.184, allocations: 301.1 kB / 0.9825 GB, free: 23.21 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003897/1.188, allocations: 2.995 MB / 0.9855 GB, free: 20.21 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004233/1.192, allocations: 3.848 MB / 0.9892 GB, free: 16.03 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008653/1.201, allocations: 7.384 MB / 0.9964 GB, free: 8.324 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-05/1.201, allocations: 8 kB / 0.9964 GB, free: 8.316 MB / 0.67 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.0295/1.23, allocations: 12.39 MB / 1.009 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/1.23, allocations: 16 kB / 1.009 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/1.23, allocations: 28.12 kB / 1.009 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02571/1.256, allocations: 6.028 MB / 1.014 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/1.258, allocations: 499.1 kB / 1.015 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1071/1.366, allocations: 73.04 MB / 1.086 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004805/1.37, allocations: 219.8 kB / 1.086 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.371, allocations: 152 kB / 1.087 GB, free: 8.508 MB / 0.7637 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005538/1.377, allocations: 1.996 MB / 1.089 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/1.379, allocations: 409.5 kB / 1.089 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03403/1.413, allocations: 12.05 MB / 1.101 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.624e-05/1.413, allocations: 44 kB / 1.101 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001752/1.413, allocations: 48 kB / 1.101 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.365e-05/1.413, allocations: 19.92 kB / 1.101 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05064/1.464, allocations: 18.94 MB / 1.119 GB, free: 6.691 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/1.464, allocations: 11.94 kB / 1.119 GB, free: 6.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.465, allocations: 291.7 kB / 1.12 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02396/1.489, allocations: 5.586 MB / 1.125 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001421/1.491, allocations: 80 kB / 1.125 GB, free: 0.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4604/1.951, allocations: 70.66 MB / 1.194 GB, free: 279 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.951, allocations: 6.344 kB / 1.194 GB, free: 279 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03187/1.983, allocations: 15.46 MB / 1.209 GB, free: 278.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/1.985, allocations: 1.07 MB / 1.21 GB, free: 277.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008272/1.986, allocations: 79.31 kB / 1.21 GB, free: 277.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/1.989, allocations: 219.2 kB / 1.211 GB, free: 277.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001532/1.991, allocations: 394.5 kB / 1.211 GB, free: 277.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000373/1.991, allocations: 112.9 kB / 1.211 GB, free: 277.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001988/1.993, allocations: 1.558 MB / 1.213 GB, free: 277.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.993, allocations: 0 / 1.213 GB, free: 277.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005856/1.999, allocations: 1.863 MB / 1.214 GB, free: 276.9 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02916/2.028, allocations: 16.12 MB / 1.23 GB, free: 269.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02031/2.049, allocations: 11.59 MB / 1.241 GB, free: 263.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/2.049, allocations: 2.781 kB / 1.241 GB, free: 263.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01395/2.062, allocations: 8.136 MB / 1.249 GB, free: 256.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006425/2.069, allocations: 1.198 MB / 1.251 GB, free: 255.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09893/2.168, allocations: 53.69 MB / 1.303 GB, free: 201.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004817/2.173, allocations: 4.087 MB / 1.307 GB, free: 197.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00219/2.175, allocations: 0.6786 MB / 1.308 GB, free: 196.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/2.177, allocations: 2.128 MB / 1.31 GB, free: 194.7 MB / 0.8575 GB Notification: Performance of SimCode: time 1.012e-06/2.177, allocations: 4 kB / 1.31 GB, free: 194.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/2.473, allocations: 151.9 MB / 1.458 GB, free: 43.74 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.73/22.2, allocations: 10.34 kB / 1.458 GB, free: 43.74 MB / 0.8575 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.327208873815835] Failed to read output from testmodel.py, exit status != 0: 22.373096246970817 22.393477517 22.03247201 Calling exit ...