Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0008494/0.0008494, 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.0009902/0.0009902, 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.084/1.084, 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.91/1.91, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 71.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.8009, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02251/0.8234, allocations: 31.53 MB / 1.383 GB, free: 2.043 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.8357, allocations: 10.28 MB / 1.393 GB, free: 7.73 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.8379, allocations: 194.6 kB / 1.393 GB, free: 7.539 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.004288/0.8422, allocations: 3.733 MB / 1.397 GB, free: 3.801 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.8459, allocations: 1.96 MB / 1.399 GB, free: 1.832 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.8497, allocations: 2.132 MB / 1.401 GB, free: 15.7 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.005624/0.8553, allocations: 7.319 MB / 1.408 GB, free: 8.363 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004804/0.8601, allocations: 5.107 MB / 1.413 GB, free: 3.137 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/0.8643, allocations: 3.303 MB / 1.416 GB, free: 15.82 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002942/0.8673, allocations: 3.442 MB / 1.42 GB, free: 12.37 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0005229/0.8678, allocations: 0.6445 MB / 1.42 GB, free: 11.73 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.87, allocations: 1.654 MB / 1.422 GB, free: 10.07 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.8714, allocations: 2.611 MB / 1.425 GB, free: 7.453 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.8729, allocations: 2.339 MB / 1.427 GB, free: 5.105 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.00655/0.8795, allocations: 10.18 MB / 1.437 GB, free: 10.89 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.8795, allocations: 0 / 1.437 GB, free: 10.89 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8795, allocations: 0 / 1.437 GB, free: 10.89 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.0001093/0.8796, allocations: 0 / 1.437 GB, free: 10.89 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.005567/0.8851, allocations: 5.041 MB / 1.442 GB, free: 5.789 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.8852, allocations: 8.922 kB / 1.442 GB, free: 5.781 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006021/0.8858, allocations: 0.6898 MB / 1.442 GB, free: 5.082 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003047/0.8888, allocations: 0.9813 MB / 1.443 GB, free: 4.098 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.8921, allocations: 2.991 MB / 1.446 GB, free: 1.039 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.8923, allocations: 357.6 kB / 1.447 GB, free: 0.6875 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/0.8927, allocations: 464.2 kB / 1.447 GB, free: 240 kB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0077/0.9004, allocations: 7.976 MB / 1.455 GB, free: 7.836 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.151e-05/0.9005, allocations: 27.83 kB / 1.455 GB, free: 7.809 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003112/0.9008, allocations: 200 kB / 1.455 GB, free: 7.613 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002109/0.901, allocations: 308.9 kB / 1.455 GB, free: 7.309 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005903/0.9069, allocations: 5.71 MB / 1.461 GB, free: 1.582 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0201/0.9271, allocations: 22.68 MB / 1.483 GB, free: 10.25 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.9291, allocations: 1.554 MB / 1.485 GB, free: 8.688 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.9304, allocations: 1.12 MB / 1.486 GB, free: 7.566 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.9304, allocations: 17.31 kB / 1.486 GB, free: 7.547 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.9304, allocations: 51.81 kB / 1.486 GB, free: 7.488 MB / 1.167 GB Notification: Performance of pre-optimization done (n=133): time 5.049e-06/0.9304, allocations: 4 kB / 1.486 GB, free: 7.484 MB / 1.167 GB Notification: Performance of matching and sorting (n=136): time 0.009735/0.9402, allocations: 6.203 MB / 1.492 GB, free: 1.238 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.9402, allocations: 68.72 kB / 1.492 GB, free: 1.16 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.9418, allocations: 1.523 MB / 1.493 GB, free: 15.59 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-05/0.9418, allocations: 45.7 kB / 1.494 GB, free: 15.54 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.9429, allocations: 2.065 MB / 1.496 GB, free: 13.45 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.9432, allocations: 0.4996 MB / 1.496 GB, free: 12.95 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004228/0.9436, allocations: 359.3 kB / 1.496 GB, free: 12.59 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.9437, allocations: 305.1 kB / 1.497 GB, free: 12.29 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.9448, allocations: 0.9096 MB / 1.498 GB, free: 11.38 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.9463, allocations: 1.593 MB / 1.499 GB, free: 9.477 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.949, allocations: 2.737 MB / 1.502 GB, free: 6.426 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.9491, allocations: 15.88 kB / 1.502 GB, free: 6.41 MB / 1.182 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004571/0.9536, allocations: 3.508 MB / 1.505 GB, free: 2.855 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.9537, allocations: 15.98 kB / 1.505 GB, free: 2.84 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.9537, allocations: 27.94 kB / 1.505 GB, free: 2.812 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.9554, allocations: 0.8922 MB / 1.506 GB, free: 1.883 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/0.9562, allocations: 347.4 kB / 1.506 GB, free: 1.543 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/0.9717, allocations: 21.75 MB / 1.528 GB, free: 10.42 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.9732, allocations: 108 kB / 1.528 GB, free: 10.32 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.9733, allocations: 80 kB / 1.528 GB, free: 10.24 MB / 1.214 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003081/0.9764, allocations: 1.617 MB / 1.529 GB, free: 8.613 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.9767, allocations: 218.9 kB / 1.53 GB, free: 8.398 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/0.9804, allocations: 2.955 MB / 1.533 GB, free: 5.395 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.9804, allocations: 19.98 kB / 1.533 GB, free: 5.375 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9804, allocations: 8 kB / 1.533 GB, free: 5.367 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.9804, allocations: 11.91 kB / 1.533 GB, free: 5.355 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007356/0.9878, allocations: 6.719 MB / 1.539 GB, free: 14.48 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.9878, allocations: 4 kB / 1.539 GB, free: 14.48 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.9882, allocations: 175.7 kB / 1.539 GB, free: 14.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.9895, allocations: 0.8223 MB / 1.54 GB, free: 13.45 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.9895, allocations: 24 kB / 1.54 GB, free: 13.42 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.001, allocations: 20.6 MB / 1.56 GB, free: 7.445 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.001, allocations: 7.938 kB / 1.56 GB, free: 7.438 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/1.004, allocations: 3.003 MB / 1.563 GB, free: 4.32 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006251/1.005, allocations: 406.4 kB / 1.564 GB, free: 3.922 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.005, allocations: 27.94 kB / 1.564 GB, free: 3.895 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/1.006, allocations: 71.91 kB / 1.564 GB, free: 3.824 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/1.006, allocations: 132.6 kB / 1.564 GB, free: 3.695 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/1.006, allocations: 43.98 kB / 1.564 GB, free: 3.652 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.0009488/1.007, allocations: 0.9717 MB / 1.565 GB, free: 2.656 MB / 1.245 GB Notification: Performance of sort global known variables: time 5e-08/1.007, allocations: 4 kB / 1.565 GB, free: 2.652 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.002045/1.009, allocations: 0.7852 MB / 1.566 GB, free: 1.867 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003129/1.012, allocations: 3.603 MB / 1.569 GB, free: 14.14 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.003402/1.015, allocations: 3.906 MB / 1.573 GB, free: 10.09 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.015, allocations: 4 kB / 1.573 GB, free: 10.08 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.017, allocations: 2.673 MB / 1.576 GB, free: 7.25 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.019, allocations: 0.7335 MB / 1.576 GB, free: 6.539 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/1.041, allocations: 22.5 MB / 1.598 GB, free: 15.01 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/1.043, allocations: 2.569 MB / 1.601 GB, free: 12.41 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.0009164/1.044, allocations: 457.9 kB / 1.601 GB, free: 11.96 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.045, allocations: 1.542 MB / 1.603 GB, free: 10.42 MB / 1.292 GB Notification: Performance of SimCode: time 1.123e-06/1.045, allocations: 0 / 1.603 GB, free: 10.42 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.159/1.204, allocations: 65.75 MB / 1.667 GB, free: 9.648 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/9.695, allocations: 3.625 kB / 1.667 GB, free: 9.648 MB / 1.354 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.790124766528606]