Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 75.88 kB / 1.107 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8633/0.8653, allocations: 168.7 MB / 1.272 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03656/0.9019, allocations: 32.14 MB / 1.303 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02486/0.9267, allocations: 13.97 MB / 1.317 GB, free: 8.758 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003949/0.9307, allocations: 143.2 kB / 1.317 GB, free: 8.711 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009875/0.9406, allocations: 3.328 MB / 1.32 GB, free: 6.754 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.9513, allocations: 2.775 MB / 1.323 GB, free: 5.051 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007182/0.9585, allocations: 2.06 MB / 1.325 GB, free: 3.891 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01266/0.9711, allocations: 7.612 MB / 1.332 GB, free: 484 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008044/0.9792, allocations: 4.26 MB / 1.336 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007199/0.9864, allocations: 3.468 MB / 1.34 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007718/0.9941, allocations: 3.566 MB / 1.343 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002746/0.9968, allocations: 0.5955 MB / 1.344 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005739/1.003, allocations: 1.516 MB / 1.345 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004943/1.008, allocations: 2.43 MB / 1.348 GB, free: 9.855 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.007771/1.015, allocations: 2.886 MB / 1.35 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01399/1.029, allocations: 9.487 MB / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.029, allocations: 1.375 kB / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.024e-06/1.029, allocations: 0 / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002207/1.03, allocations: 0 / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01403/1.044, allocations: 5.266 MB / 1.365 GB, free: 13.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.044, allocations: 8.875 kB / 1.365 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001478/1.045, allocations: 0.6211 MB / 1.365 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006905/1.052, allocations: 1.019 MB / 1.366 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008221/1.06, allocations: 3.093 MB / 1.369 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/1.061, allocations: 317.8 kB / 1.37 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/1.062, allocations: 416.9 kB / 1.37 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/1.075, allocations: 6.793 MB / 1.377 GB, free: 6.301 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/1.076, allocations: 23.61 kB / 1.377 GB, free: 6.285 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005815/1.076, allocations: 188.7 kB / 1.377 GB, free: 6.145 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000921/1.077, allocations: 372.7 kB / 1.377 GB, free: 6.035 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009977/1.087, allocations: 5.118 MB / 1.382 GB, free: 3.012 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03786/1.125, allocations: 30.57 MB / 1.412 GB, free: 1.68 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/1.127, allocations: 1.317 MB / 1.413 GB, free: 360 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/1.129, allocations: 1.247 MB / 1.415 GB, free: 15.1 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.827e-05/1.129, allocations: 13.31 kB / 1.415 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/1.129, allocations: 43.88 kB / 1.415 GB, free: 15.04 MB / 1.107 GB Notification: Performance of pre-optimization done (n=130): time 2.946e-06/1.129, allocations: 4 kB / 1.415 GB, free: 15.04 MB / 1.107 GB Notification: Performance of matching and sorting (n=199): time 0.09254/1.222, allocations: 23.08 MB / 1.437 GB, free: 7.848 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/1.222, allocations: 73.41 kB / 1.437 GB, free: 7.762 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/1.225, allocations: 2.063 MB / 1.439 GB, free: 5.684 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004297/1.226, allocations: 57.7 kB / 1.439 GB, free: 5.621 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.227, allocations: 2.066 MB / 1.441 GB, free: 3.535 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.228, allocations: 0.7126 MB / 1.442 GB, free: 2.816 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008665/1.229, allocations: 412.4 kB / 1.443 GB, free: 2.406 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.229, allocations: 301.1 kB / 1.443 GB, free: 2.109 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/1.232, allocations: 1.433 MB / 1.444 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/1.234, allocations: 2.013 MB / 1.446 GB, free: 14.41 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00529/1.24, allocations: 3.692 MB / 1.45 GB, free: 10.48 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.24, allocations: 8 kB / 1.45 GB, free: 10.47 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01186/1.252, allocations: 5.604 MB / 1.455 GB, free: 4.801 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/1.252, allocations: 12 kB / 1.455 GB, free: 4.789 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.252, allocations: 16 kB / 1.455 GB, free: 4.773 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007258/1.259, allocations: 2.091 MB / 1.457 GB, free: 2.625 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/1.26, allocations: 379.3 kB / 1.458 GB, free: 2.254 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04436/1.305, allocations: 38.45 MB / 1.495 GB, free: 9.277 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/1.307, allocations: 127.9 kB / 1.495 GB, free: 9.152 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/1.308, allocations: 95.92 kB / 1.495 GB, free: 9.059 MB / 1.186 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002764/1.31, allocations: 1.516 MB / 1.497 GB, free: 7.531 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005355/1.311, allocations: 298.2 kB / 1.497 GB, free: 7.238 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.322, allocations: 5.137 MB / 1.502 GB, free: 2.023 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/1.322, allocations: 20 kB / 1.502 GB, free: 2.004 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.403e-05/1.322, allocations: 20 kB / 1.502 GB, free: 1.984 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/1.322, allocations: 11.95 kB / 1.502 GB, free: 1.973 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/1.341, allocations: 9.607 MB / 1.512 GB, free: 8.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.341, allocations: 12.16 kB / 1.512 GB, free: 8.148 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009049/1.342, allocations: 211.6 kB / 1.512 GB, free: 7.941 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00612/1.348, allocations: 1.838 MB / 1.514 GB, free: 6.047 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.348, allocations: 36 kB / 1.514 GB, free: 6.012 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04149/1.389, allocations: 37.48 MB / 1.55 GB, free: 14 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.389, allocations: 12.12 kB / 1.55 GB, free: 13.98 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009942/1.399, allocations: 4.863 MB / 1.555 GB, free: 8.965 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.401, allocations: 0.632 MB / 1.556 GB, free: 8.312 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004005/1.401, allocations: 43.95 kB / 1.556 GB, free: 8.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/1.403, allocations: 131.8 kB / 1.556 GB, free: 8.141 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006191/1.404, allocations: 185.6 kB / 1.556 GB, free: 7.957 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/1.404, allocations: 56 kB / 1.556 GB, free: 7.902 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002337/1.406, allocations: 1.378 MB / 1.557 GB, free: 6.516 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/1.406, allocations: 8 kB / 1.557 GB, free: 6.508 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004486/1.411, allocations: 1.047 MB / 1.558 GB, free: 5.461 MB / 1.248 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01047/1.421, allocations: 5.478 MB / 1.564 GB, free: 15.82 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.432, allocations: 6.01 MB / 1.57 GB, free: 9.574 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.432, allocations: 4.875 kB / 1.57 GB, free: 9.57 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.008001/1.44, allocations: 4.273 MB / 1.574 GB, free: 5.066 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004558/1.444, allocations: 0.9871 MB / 1.575 GB, free: 4.109 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05688/1.501, allocations: 30.76 MB / 1.605 GB, free: 4.297 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004324/1.506, allocations: 3.128 MB / 1.608 GB, free: 1.133 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002124/1.508, allocations: 0.5237 MB / 1.608 GB, free: 0.6055 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002325/1.51, allocations: 1.675 MB / 1.61 GB, free: 14.93 MB / 1.311 GB Notification: Performance of SimCode: time 1.513e-06/1.51, allocations: 0 / 1.61 GB, free: 14.93 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2361/1.746, allocations: 89.35 MB / 1.697 GB, free: 6.609 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/17.14, allocations: 5.484 kB / 1.697 GB, free: 6.609 MB / 1.389 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.070764295000117] Failed to read output from testmodel.py, exit status != 0: 17.275493213004665 17.29719251 16.263339046 Calling exit ...