Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008386/0.0008386, allocations: 108.3 kB / 19.72 MB, free: 420 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.001005/0.001005, allocations: 220.3 kB / 23.03 MB, free: 2.953 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.044/1.044, 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 2.015/2.015, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 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.ACLineMedium,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 64.08 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7792, allocations: 180 MB / 1.352 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0124/0.7916, allocations: 13.94 MB / 1.366 GB, free: 3.652 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.8032, allocations: 9.96 MB / 1.376 GB, free: 9.664 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.8049, allocations: 95.19 kB / 1.376 GB, free: 9.57 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.003504/0.8084, allocations: 1.684 MB / 1.378 GB, free: 7.883 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.8137, allocations: 1.859 MB / 1.379 GB, free: 6.023 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.8156, allocations: 0.7523 MB / 1.38 GB, free: 5.27 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.003438/0.819, allocations: 2.764 MB / 1.383 GB, free: 2.496 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.8209, allocations: 1.184 MB / 1.384 GB, free: 1.273 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.8231, allocations: 1.719 MB / 1.386 GB, free: 15.55 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.8244, allocations: 1.046 MB / 1.387 GB, free: 14.5 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.8246, allocations: 156 kB / 1.387 GB, free: 14.35 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.8257, allocations: 0.7252 MB / 1.387 GB, free: 13.62 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.8261, allocations: 0.6074 MB / 1.388 GB, free: 13.01 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0006425/0.8268, allocations: 0.7737 MB / 1.389 GB, free: 12.23 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.8293, allocations: 2.763 MB / 1.392 GB, free: 9.461 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.8293, allocations: 4 kB / 1.392 GB, free: 9.457 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8293, allocations: 0 / 1.392 GB, free: 9.457 MB / 1.073 GB Notification: Performance of Transformations before backend: time 3.157e-05/0.8293, allocations: 0 / 1.392 GB, free: 9.457 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.002805/0.8322, allocations: 2.143 MB / 1.394 GB, free: 7.273 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.8322, allocations: 8.922 kB / 1.394 GB, free: 7.266 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.8324, allocations: 190.4 kB / 1.394 GB, free: 7.07 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006183/0.8386, allocations: 2.117 MB / 1.396 GB, free: 4.949 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.8409, allocations: 1.189 MB / 1.397 GB, free: 3.711 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.8409, allocations: 86.69 kB / 1.397 GB, free: 3.625 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.8411, allocations: 123.9 kB / 1.397 GB, free: 3.504 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004407/0.8455, allocations: 2.881 MB / 1.4 GB, free: 436 kB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.8455, allocations: 7.938 kB / 1.4 GB, free: 428 kB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.8456, allocations: 51.98 kB / 1.4 GB, free: 376 kB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004265/0.8461, allocations: 198.1 kB / 1.4 GB, free: 176 kB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004932/0.851, allocations: 2.783 MB / 1.403 GB, free: 13.38 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.8634, allocations: 8.338 MB / 1.411 GB, free: 4.867 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.8674, allocations: 2.179 MB / 1.413 GB, free: 2.68 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.869, allocations: 1.199 MB / 1.414 GB, free: 1.48 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.8691, allocations: 12.94 kB / 1.414 GB, free: 1.469 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.8691, allocations: 47.55 kB / 1.415 GB, free: 1.41 MB / 1.089 GB Notification: Performance of pre-optimization done (n=89): time 4.689e-06/0.8691, allocations: 0 / 1.415 GB, free: 1.41 MB / 1.089 GB Notification: Performance of matching and sorting (n=153): time 0.03576/0.9049, allocations: 16 MB / 1.43 GB, free: 1.371 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.905, allocations: 64.72 kB / 1.43 GB, free: 1.293 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.9065, allocations: 1.184 MB / 1.431 GB, free: 100 kB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.9067, allocations: 53.7 kB / 1.431 GB, free: 40 kB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.9072, allocations: 0.7568 MB / 1.432 GB, free: 15.28 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.000737/0.908, allocations: 0.5422 MB / 1.433 GB, free: 14.73 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005283/0.9085, allocations: 287.5 kB / 1.433 GB, free: 14.44 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.9086, allocations: 313 kB / 1.433 GB, free: 14.13 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002793/0.9114, allocations: 1.507 MB / 1.435 GB, free: 12.62 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.9142, allocations: 1.788 MB / 1.436 GB, free: 10.74 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005667/0.9199, allocations: 3.365 MB / 1.44 GB, free: 7.281 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.9199, allocations: 0 / 1.44 GB, free: 7.281 MB / 1.12 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01021/0.9301, allocations: 5.219 MB / 1.445 GB, free: 2.023 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.9301, allocations: 8 kB / 1.445 GB, free: 2.016 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.9301, allocations: 8 kB / 1.445 GB, free: 2.008 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005061/0.9352, allocations: 1.875 MB / 1.447 GB, free: 112 kB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.9366, allocations: 415.3 kB / 1.447 GB, free: 15.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/0.9599, allocations: 23.07 MB / 1.47 GB, free: 7.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.9615, allocations: 307.6 kB / 1.47 GB, free: 7.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.9616, allocations: 71.84 kB / 1.47 GB, free: 7.359 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000703/0.9623, allocations: 465.6 kB / 1.47 GB, free: 6.895 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.9626, allocations: 186.9 kB / 1.471 GB, free: 6.711 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007877/0.9705, allocations: 5.246 MB / 1.476 GB, free: 1.414 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.9705, allocations: 20 kB / 1.476 GB, free: 1.395 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.783e-05/0.9705, allocations: 16 kB / 1.476 GB, free: 1.379 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.9705, allocations: 7.969 kB / 1.476 GB, free: 1.371 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.9808, allocations: 6.977 MB / 1.483 GB, free: 10.27 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.9808, allocations: 4 kB / 1.483 GB, free: 10.27 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/0.9817, allocations: 351.4 kB / 1.483 GB, free: 9.926 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003285/0.9849, allocations: 1.693 MB / 1.485 GB, free: 8.211 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.985, allocations: 51.89 kB / 1.485 GB, free: 8.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/1.006, allocations: 22.22 MB / 1.506 GB, free: 1.043 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.006, allocations: 0 / 1.506 GB, free: 1.043 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/1.016, allocations: 4.83 MB / 1.511 GB, free: 12.13 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008652/1.017, allocations: 434.6 kB / 1.511 GB, free: 11.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/1.018, allocations: 28 kB / 1.511 GB, free: 11.68 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.019, allocations: 323.9 kB / 1.512 GB, free: 11.36 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/1.019, allocations: 156.9 kB / 1.512 GB, free: 11.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-05/1.019, allocations: 55.97 kB / 1.512 GB, free: 11.15 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.000856/1.02, allocations: 0.7899 MB / 1.513 GB, free: 10.36 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.81e-07/1.02, allocations: 0 / 1.513 GB, free: 10.36 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00155/1.022, allocations: 0.6678 MB / 1.513 GB, free: 9.691 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007418/1.029, allocations: 5.405 MB / 1.519 GB, free: 4.195 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.00699/1.036, allocations: 4.921 MB / 1.524 GB, free: 15.16 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.036, allocations: 0 / 1.524 GB, free: 15.16 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.004111/1.04, allocations: 3.276 MB / 1.527 GB, free: 11.79 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.042, allocations: 0.5624 MB / 1.527 GB, free: 11.24 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/1.071, allocations: 21.79 MB / 1.549 GB, free: 4.957 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009136/1.072, allocations: 0.9765 MB / 1.549 GB, free: 3.941 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0009935/1.073, allocations: 394.4 kB / 1.55 GB, free: 3.551 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006627/1.074, allocations: 0.6554 MB / 1.551 GB, free: 2.895 MB / 1.229 GB Notification: Performance of SimCode: time 1.082e-06/1.074, allocations: 0 / 1.551 GB, free: 2.895 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/1.229, allocations: 63.86 MB / 1.613 GB, free: 4.008 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.567/9.796, allocations: 7.875 kB / 1.613 GB, free: 4 MB / 1.292 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ACLineMedium.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.872418908402324]