Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0008045/0.0008045, allocations: 108.3 kB / 19.72 MB, free: 424 kB / 13.93 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.000818/0.000818, allocations: 216.9 kB / 23.02 MB, free: 2.969 MB / 13.93 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.068/1.068, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.972/1.972, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 68.09 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7712, allocations: 180 MB / 1.352 GB, free: 1.727 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01098/0.7822, allocations: 13.29 MB / 1.365 GB, free: 4.383 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.7927, allocations: 9.143 MB / 1.374 GB, free: 11.21 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.7944, allocations: 83.25 kB / 1.374 GB, free: 11.13 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.797, allocations: 1.676 MB / 1.376 GB, free: 9.453 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.8007, allocations: 1.582 MB / 1.378 GB, free: 7.875 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.8024, allocations: 0.7615 MB / 1.378 GB, free: 7.113 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.002632/0.805, allocations: 2.521 MB / 1.381 GB, free: 4.582 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.8065, allocations: 1.176 MB / 1.382 GB, free: 3.367 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.8081, allocations: 1.215 MB / 1.383 GB, free: 2.148 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.8092, allocations: 1.058 MB / 1.384 GB, free: 1.086 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.8094, allocations: 164 kB / 1.384 GB, free: 0.9258 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.8106, allocations: 0.7252 MB / 1.385 GB, free: 204 kB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0004233/0.811, allocations: 0.6231 MB / 1.386 GB, free: 15.57 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.8116, allocations: 0.7582 MB / 1.386 GB, free: 14.81 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.8139, allocations: 2.755 MB / 1.389 GB, free: 12.05 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8139, allocations: 0 / 1.389 GB, free: 12.05 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.836e-06/0.8139, allocations: 0 / 1.389 GB, free: 12.05 MB / 1.073 GB Notification: Performance of Transformations before backend: time 2.89e-05/0.814, allocations: 0 / 1.389 GB, free: 12.05 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002717/0.8167, allocations: 2.104 MB / 1.391 GB, free: 9.902 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.8167, allocations: 12.92 kB / 1.391 GB, free: 9.891 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/0.8169, allocations: 194.4 kB / 1.391 GB, free: 9.691 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006178/0.8231, allocations: 2.094 MB / 1.393 GB, free: 7.594 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.8252, allocations: 1.177 MB / 1.395 GB, free: 6.367 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.8253, allocations: 90.73 kB / 1.395 GB, free: 6.277 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.8255, allocations: 123.9 kB / 1.395 GB, free: 6.156 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/0.8293, allocations: 2.889 MB / 1.398 GB, free: 3.07 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.8293, allocations: 11.88 kB / 1.398 GB, free: 3.059 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.8294, allocations: 55.98 kB / 1.398 GB, free: 3.004 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003336/0.8298, allocations: 174.1 kB / 1.398 GB, free: 2.832 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004242/0.834, allocations: 2.799 MB / 1.401 GB, free: 24 kB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008976/0.843, allocations: 8.344 MB / 1.409 GB, free: 7.504 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.8467, allocations: 2.224 MB / 1.411 GB, free: 5.27 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.8485, allocations: 1.215 MB / 1.412 GB, free: 4.051 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 5.864e-05/0.8486, allocations: 9 kB / 1.412 GB, free: 4.043 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.8486, allocations: 47.56 kB / 1.412 GB, free: 3.988 MB / 1.089 GB Notification: Performance of pre-optimization done (n=89): time 6.091e-06/0.8486, allocations: 0 / 1.412 GB, free: 3.988 MB / 1.089 GB Notification: Performance of matching and sorting (n=131): time 0.02469/0.8733, allocations: 12.65 MB / 1.424 GB, free: 7.281 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.8734, allocations: 64.72 kB / 1.425 GB, free: 7.207 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.8746, allocations: 1.136 MB / 1.426 GB, free: 6.055 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.8747, allocations: 49.64 kB / 1.426 GB, free: 6 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.8751, allocations: 0.7248 MB / 1.426 GB, free: 5.27 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.8754, allocations: 483.8 kB / 1.427 GB, free: 4.793 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.8757, allocations: 263.5 kB / 1.427 GB, free: 4.527 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8759, allocations: 365.8 kB / 1.427 GB, free: 4.164 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.8777, allocations: 1.335 MB / 1.429 GB, free: 2.828 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.8797, allocations: 1.604 MB / 1.43 GB, free: 1.125 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/0.8836, allocations: 2.991 MB / 1.433 GB, free: 14.04 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.8836, allocations: 4 kB / 1.433 GB, free: 14.04 MB / 1.12 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006643/0.8903, allocations: 4.404 MB / 1.438 GB, free: 9.578 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.8903, allocations: 11.94 kB / 1.438 GB, free: 9.566 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.8903, allocations: 8 kB / 1.438 GB, free: 9.559 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/0.8931, allocations: 1.423 MB / 1.439 GB, free: 8.094 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.8942, allocations: 439.2 kB / 1.439 GB, free: 7.664 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.9115, allocations: 25.1 MB / 1.464 GB, free: 13.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.9132, allocations: 307.4 kB / 1.464 GB, free: 12.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.9133, allocations: 59.97 kB / 1.464 GB, free: 12.72 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007012/0.914, allocations: 433.5 kB / 1.465 GB, free: 12.29 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.9143, allocations: 175 kB / 1.465 GB, free: 12.11 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006318/0.9206, allocations: 4.406 MB / 1.469 GB, free: 7.652 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.9206, allocations: 12 kB / 1.469 GB, free: 7.641 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.9206, allocations: 16 kB / 1.469 GB, free: 7.625 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.9206, allocations: 3.984 kB / 1.469 GB, free: 7.621 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008789/0.9294, allocations: 6.307 MB / 1.475 GB, free: 1.184 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.9294, allocations: 0 / 1.475 GB, free: 1.184 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009184/0.9303, allocations: 383.3 kB / 1.476 GB, free: 0.8086 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002476/0.9328, allocations: 1.299 MB / 1.477 GB, free: 15.47 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/0.9329, allocations: 43.97 kB / 1.477 GB, free: 15.43 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/0.9491, allocations: 23.97 MB / 1.5 GB, free: 5.953 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9491, allocations: 8.25 kB / 1.5 GB, free: 5.945 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006352/0.9555, allocations: 4.164 MB / 1.504 GB, free: 1.684 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007643/0.9562, allocations: 386.7 kB / 1.505 GB, free: 1.305 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.9564, allocations: 24 kB / 1.505 GB, free: 1.281 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.9575, allocations: 303.5 kB / 1.505 GB, free: 0.9844 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/0.9579, allocations: 136.6 kB / 1.505 GB, free: 0.8516 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.605e-05/0.958, allocations: 52.16 kB / 1.505 GB, free: 0.8008 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0008491/0.9588, allocations: 0.7487 MB / 1.506 GB, free: 52 kB / 1.182 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9588, allocations: 0 / 1.506 GB, free: 52 kB / 1.182 GB Notification: Performance of remove unused functions: time 0.001756/0.9606, allocations: 0.5704 MB / 1.507 GB, free: 15.48 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006308/0.9669, allocations: 4.758 MB / 1.511 GB, free: 10.62 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.006445/0.9733, allocations: 4.958 MB / 1.516 GB, free: 5.484 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.9733, allocations: 0 / 1.516 GB, free: 5.484 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003931/0.9772, allocations: 3.421 MB / 1.519 GB, free: 1.898 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.979, allocations: 0.56 MB / 1.52 GB, free: 1.352 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/1.005, allocations: 19.33 MB / 1.539 GB, free: 13.57 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008454/1.006, allocations: 0.8912 MB / 1.54 GB, free: 12.64 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.001104/1.007, allocations: 429.6 kB / 1.54 GB, free: 12.22 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/1.008, allocations: 0.6281 MB / 1.541 GB, free: 11.59 MB / 1.229 GB Notification: Performance of SimCode: time 1.743e-06/1.008, allocations: 0 / 1.541 GB, free: 11.59 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1559/1.164, allocations: 56.4 MB / 1.596 GB, free: 4.172 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.669/9.833, allocations: 2.75 kB / 1.596 GB, free: 4.172 MB / 1.276 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.949427790939808]