Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0008034/0.0008034, allocations: 108.3 kB / 19.73 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.0009019/0.0009019, allocations: 212.6 kB / 23.02 MB, free: 2.965 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 0.9824/0.9824, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.983/1.983, allocations: 0.5045 GB / 0.8104 GB, free: 2.777 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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 67.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8132, allocations: 180 MB / 1.352 GB, free: 1.703 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008861/0.822, allocations: 10.7 MB / 1.363 GB, free: 6.957 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00674/0.8288, allocations: 5.649 MB / 1.368 GB, free: 1.289 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008303/0.8296, allocations: 71.31 kB / 1.368 GB, free: 1.219 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.8319, allocations: 1.715 MB / 1.37 GB, free: 15.5 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.8343, allocations: 1.186 MB / 1.371 GB, free: 14.31 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.836, allocations: 0.8193 MB / 1.372 GB, free: 13.49 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.002076/0.8381, allocations: 2.123 MB / 1.374 GB, free: 11.36 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.8391, allocations: 1.016 MB / 1.375 GB, free: 10.32 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009203/0.84, allocations: 0.8796 MB / 1.376 GB, free: 9.434 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000868/0.8408, allocations: 0.9063 MB / 1.377 GB, free: 8.523 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.841, allocations: 116 kB / 1.377 GB, free: 8.41 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.8426, allocations: 1.052 MB / 1.378 GB, free: 7.355 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.843, allocations: 0.5412 MB / 1.379 GB, free: 6.812 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0004943/0.8435, allocations: 0.6452 MB / 1.379 GB, free: 6.164 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.8462, allocations: 2.455 MB / 1.382 GB, free: 3.699 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.8462, allocations: 0 / 1.382 GB, free: 3.699 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8462, allocations: 3.938 kB / 1.382 GB, free: 3.695 MB / 1.057 GB Notification: Performance of Transformations before backend: time 3.031e-05/0.8463, allocations: 0 / 1.382 GB, free: 3.695 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002131/0.8484, allocations: 1.844 MB / 1.383 GB, free: 1.809 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.8485, allocations: 8.922 kB / 1.383 GB, free: 1.801 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.8486, allocations: 211.4 kB / 1.384 GB, free: 1.582 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.8514, allocations: 0.6864 MB / 1.384 GB, free: 0.8945 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.8525, allocations: 0.9175 MB / 1.385 GB, free: 15.95 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.716e-05/0.8526, allocations: 94.81 kB / 1.385 GB, free: 15.86 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.8527, allocations: 132.3 kB / 1.385 GB, free: 15.73 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.8551, allocations: 2.411 MB / 1.388 GB, free: 13.04 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.8551, allocations: 19.86 kB / 1.388 GB, free: 13.02 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/0.8552, allocations: 59.97 kB / 1.388 GB, free: 12.96 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.8554, allocations: 162.3 kB / 1.388 GB, free: 12.8 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.8573, allocations: 1.859 MB / 1.39 GB, free: 10.94 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006889/0.8642, allocations: 9.405 MB / 1.399 GB, free: 1.23 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.8667, allocations: 1.87 MB / 1.401 GB, free: 15.36 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/0.8674, allocations: 0.5542 MB / 1.401 GB, free: 14.8 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 9.791e-05/0.8675, allocations: 20.98 kB / 1.401 GB, free: 14.78 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.8675, allocations: 47.5 kB / 1.401 GB, free: 14.72 MB / 1.089 GB Notification: Performance of pre-optimization done (n=103): time 3.987e-06/0.8675, allocations: 0 / 1.401 GB, free: 14.72 MB / 1.089 GB Notification: Performance of matching and sorting (n=110): time 0.003947/0.8715, allocations: 3.13 MB / 1.405 GB, free: 11.58 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.8715, allocations: 60.41 kB / 1.405 GB, free: 11.51 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.8724, allocations: 0.9553 MB / 1.405 GB, free: 10.54 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.8724, allocations: 41.7 kB / 1.406 GB, free: 10.49 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.8728, allocations: 0.7572 MB / 1.406 GB, free: 9.723 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.8731, allocations: 400.5 kB / 1.407 GB, free: 9.328 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.8733, allocations: 287.4 kB / 1.407 GB, free: 9.043 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.8734, allocations: 309.1 kB / 1.407 GB, free: 8.738 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.8741, allocations: 0.609 MB / 1.408 GB, free: 8.129 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.8751, allocations: 1.106 MB / 1.409 GB, free: 6.797 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.8768, allocations: 1.828 MB / 1.411 GB, free: 4.754 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.8768, allocations: 4 kB / 1.411 GB, free: 4.75 MB / 1.089 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002271/0.8791, allocations: 2.109 MB / 1.413 GB, free: 2.609 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.8791, allocations: 12 kB / 1.413 GB, free: 2.598 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.8791, allocations: 16.09 kB / 1.413 GB, free: 2.582 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004789/0.8796, allocations: 258.6 kB / 1.413 GB, free: 2.305 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.8803, allocations: 375.4 kB / 1.413 GB, free: 1.938 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005777/0.8861, allocations: 10.74 MB / 1.424 GB, free: 6.277 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008165/0.8869, allocations: 127.8 kB / 1.424 GB, free: 6.152 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.887, allocations: 68 kB / 1.424 GB, free: 6.086 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00056/0.8876, allocations: 413.4 kB / 1.424 GB, free: 5.672 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.8877, allocations: 139.1 kB / 1.425 GB, free: 5.535 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.8896, allocations: 1.681 MB / 1.426 GB, free: 3.82 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.8896, allocations: 8 kB / 1.426 GB, free: 3.812 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.8896, allocations: 4 kB / 1.426 GB, free: 3.809 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.8896, allocations: 11.97 kB / 1.426 GB, free: 3.797 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.8934, allocations: 3.104 MB / 1.429 GB, free: 0.5547 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.8934, allocations: 4 kB / 1.429 GB, free: 0.5508 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.8939, allocations: 223.6 kB / 1.429 GB, free: 340 kB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003911/0.8942, allocations: 238.6 kB / 1.43 GB, free: 76 kB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/0.8943, allocations: 36 kB / 1.43 GB, free: 40 kB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/0.8997, allocations: 10.72 MB / 1.44 GB, free: 4.395 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8997, allocations: 7.938 kB / 1.44 GB, free: 4.387 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.9017, allocations: 1.8 MB / 1.442 GB, free: 2.477 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.9021, allocations: 231 kB / 1.442 GB, free: 2.25 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.943e-05/0.9022, allocations: 35.94 kB / 1.442 GB, free: 2.215 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.9026, allocations: 87.88 kB / 1.442 GB, free: 2.129 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/0.9029, allocations: 104.6 kB / 1.442 GB, free: 2.027 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.903, allocations: 36 kB / 1.442 GB, free: 1.992 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0005443/0.9035, allocations: 0.6177 MB / 1.443 GB, free: 1.367 MB / 1.12 GB Notification: Performance of sort global known variables: time 5e-08/0.9035, allocations: 0 / 1.443 GB, free: 1.367 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.00101/0.9045, allocations: 396 kB / 1.443 GB, free: 0.9805 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001886/0.9064, allocations: 2.387 MB / 1.446 GB, free: 14.48 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002307/0.9087, allocations: 2.406 MB / 1.448 GB, free: 11.96 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9087, allocations: 0 / 1.448 GB, free: 11.96 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.91, allocations: 1.583 MB / 1.45 GB, free: 10.29 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.911, allocations: 366.2 kB / 1.45 GB, free: 9.938 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.9223, allocations: 11.54 MB / 1.461 GB, free: 13.64 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.9229, allocations: 0.7412 MB / 1.462 GB, free: 12.87 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007564/0.9237, allocations: 371.2 kB / 1.462 GB, free: 12.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/0.9244, allocations: 0.5383 MB / 1.463 GB, free: 11.96 MB / 1.151 GB Notification: Performance of SimCode: time 2.254e-06/0.9244, allocations: 0 / 1.463 GB, free: 11.96 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/1.048, allocations: 30.51 MB / 1.493 GB, free: 14.02 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.901, allocations: 9.125 kB / 1.493 GB, free: 14.02 MB / 1.182 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_Loads_Examples_ThreePhases.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.857289852574468]