Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.0008291/0.0008291, allocations: 100.3 kB / 19.72 MB, free: 428 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.0008095/0.0008095, allocations: 214.8 kB / 23.03 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.003/1.003, 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.07/2.07, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 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_R_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.83 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7094, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02725/0.7366, allocations: 36.44 MB / 1.388 GB, free: 13.11 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.7515, allocations: 11.12 MB / 1.399 GB, free: 1.961 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003548/0.755, allocations: 198.6 kB / 1.399 GB, free: 1.766 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.005992/0.761, allocations: 4.377 MB / 1.403 GB, free: 13.38 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.7659, allocations: 2.336 MB / 1.406 GB, free: 11.03 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.7695, allocations: 2.169 MB / 1.408 GB, free: 8.863 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.007301/0.7768, allocations: 9.273 MB / 1.417 GB, free: 15.56 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006262/0.7831, allocations: 6.34 MB / 1.423 GB, free: 9.105 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/0.7877, allocations: 4.125 MB / 1.427 GB, free: 4.969 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004909/0.7926, allocations: 4.462 MB / 1.431 GB, free: 0.4922 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.7937, allocations: 0.8204 MB / 1.432 GB, free: 15.67 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/0.796, allocations: 1.502 MB / 1.434 GB, free: 14.17 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.00241/0.7984, allocations: 3.235 MB / 1.437 GB, free: 10.93 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.00255/0.801, allocations: 2.977 MB / 1.44 GB, free: 7.938 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.8117, allocations: 12.41 MB / 1.452 GB, free: 11.49 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8117, allocations: 0 / 1.452 GB, free: 11.49 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8117, allocations: 0 / 1.452 GB, free: 11.49 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0003211/0.812, allocations: 0 / 1.452 GB, free: 11.49 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01504/0.8271, allocations: 6.387 MB / 1.458 GB, free: 5.043 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/0.8272, allocations: 8.922 kB / 1.458 GB, free: 5.035 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001354/0.8285, allocations: 0.8372 MB / 1.459 GB, free: 4.188 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/0.8334, allocations: 1.098 MB / 1.46 GB, free: 3.086 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006806/0.8402, allocations: 3.568 MB / 1.463 GB, free: 15.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.8405, allocations: 427.7 kB / 1.464 GB, free: 15.04 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007775/0.8413, allocations: 0.5433 MB / 1.464 GB, free: 14.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.8568, allocations: 10.29 MB / 1.474 GB, free: 3.648 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.857, allocations: 19.81 kB / 1.474 GB, free: 3.629 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004431/0.8574, allocations: 248 kB / 1.475 GB, free: 3.387 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003903/0.8578, allocations: 418.9 kB / 1.475 GB, free: 2.977 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.8684, allocations: 7.123 MB / 1.482 GB, free: 11.84 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.8911, allocations: 26.25 MB / 1.508 GB, free: 0.9453 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/0.894, allocations: 2.9 MB / 1.511 GB, free: 14.04 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.8959, allocations: 1.932 MB / 1.512 GB, free: 12.11 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.999e-05/0.8959, allocations: 22 kB / 1.512 GB, free: 12.09 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.896, allocations: 60.56 kB / 1.513 GB, free: 12.02 MB / 1.198 GB Notification: Performance of pre-optimization done (n=209): time 4.929e-06/0.896, allocations: 3.938 kB / 1.513 GB, free: 12.02 MB / 1.198 GB Notification: Performance of matching and sorting (n=212): time 0.01486/0.9109, allocations: 10.27 MB / 1.523 GB, free: 1.727 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.9109, allocations: 77.41 kB / 1.523 GB, free: 1.637 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.9129, allocations: 2.056 MB / 1.525 GB, free: 15.56 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/0.913, allocations: 61.7 kB / 1.525 GB, free: 15.5 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.914, allocations: 2.478 MB / 1.527 GB, free: 12.99 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.000685/0.9147, allocations: 0.763 MB / 1.528 GB, free: 12.22 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000483/0.9152, allocations: 485.5 kB / 1.528 GB, free: 11.74 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.9153, allocations: 301.1 kB / 1.529 GB, free: 11.45 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.9166, allocations: 1.376 MB / 1.53 GB, free: 10.07 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.9183, allocations: 2.108 MB / 1.532 GB, free: 7.645 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/0.9218, allocations: 3.766 MB / 1.536 GB, free: 3.566 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.9218, allocations: 8 kB / 1.536 GB, free: 3.559 MB / 1.214 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005259/0.9271, allocations: 5.022 MB / 1.541 GB, free: 14.51 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.9271, allocations: 19.94 kB / 1.541 GB, free: 14.49 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.9271, allocations: 20 kB / 1.541 GB, free: 14.47 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002408/0.9295, allocations: 1.579 MB / 1.542 GB, free: 12.89 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.9304, allocations: 455.2 kB / 1.543 GB, free: 12.44 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.946, allocations: 17.92 MB / 1.56 GB, free: 10.07 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.9475, allocations: 151.8 kB / 1.56 GB, free: 9.918 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.9477, allocations: 104 kB / 1.56 GB, free: 9.816 MB / 1.245 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003275/0.9509, allocations: 1.941 MB / 1.562 GB, free: 7.863 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.9512, allocations: 298.3 kB / 1.563 GB, free: 7.57 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/0.9558, allocations: 4.408 MB / 1.567 GB, free: 3.133 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.9558, allocations: 27.98 kB / 1.567 GB, free: 3.105 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/0.9558, allocations: 16 kB / 1.567 GB, free: 3.09 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.9558, allocations: 7.969 kB / 1.567 GB, free: 3.082 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.966, allocations: 9.18 MB / 1.576 GB, free: 9.758 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.966, allocations: 4 kB / 1.576 GB, free: 9.754 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/0.9669, allocations: 231.7 kB / 1.576 GB, free: 9.527 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/0.9688, allocations: 1.419 MB / 1.577 GB, free: 8.098 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.9689, allocations: 40 kB / 1.577 GB, free: 8.059 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/0.9842, allocations: 17.91 MB / 1.595 GB, free: 5.691 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/0.9842, allocations: 15.92 kB / 1.595 GB, free: 5.676 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/0.9893, allocations: 4.503 MB / 1.599 GB, free: 1.086 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.9904, allocations: 0.58 MB / 1.6 GB, free: 0.5039 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.9906, allocations: 39.94 kB / 1.6 GB, free: 476 kB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/0.9913, allocations: 115.9 kB / 1.6 GB, free: 360 kB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/0.9916, allocations: 193.2 kB / 1.6 GB, free: 168 kB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.46e-05/0.9917, allocations: 60 kB / 1.6 GB, free: 108 kB / 1.276 GB Notification: Performance of sorting global known variables: time 0.001359/0.9931, allocations: 1.315 MB / 1.602 GB, free: 14.78 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9931, allocations: 0 / 1.602 GB, free: 14.78 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.002371/0.9955, allocations: 1.141 MB / 1.603 GB, free: 13.64 MB / 1.292 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004746/1, allocations: 5.122 MB / 1.608 GB, free: 8.418 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.00508/1.005, allocations: 4.539 MB / 1.612 GB, free: 3.836 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.005, allocations: 3.938 kB / 1.612 GB, free: 3.832 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/1.008, allocations: 2.801 MB / 1.615 GB, free: 0.9766 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/1.01, allocations: 0.892 MB / 1.616 GB, free: 104 kB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/1.043, allocations: 30.56 MB / 1.646 GB, free: 340 kB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003104/1.046, allocations: 3.159 MB / 1.649 GB, free: 13.13 MB / 1.339 GB Notification: Performance of simCode: alias equations: time 0.001391/1.047, allocations: 0.5478 MB / 1.649 GB, free: 12.58 MB / 1.339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/1.05, allocations: 1.952 MB / 1.651 GB, free: 10.62 MB / 1.339 GB Notification: Performance of SimCode: time 1.724e-06/1.05, allocations: 0 / 1.651 GB, free: 10.62 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8641/1.914, allocations: 90.6 MB / 1.74 GB, free: 320.7 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.133/11.05, allocations: 1.875 kB / 1.74 GB, free: 320.7 MB / 1.385 GB " [Timeout remaining time 289] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_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_R_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.414205906912684]