Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0008514/0.0008514, 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.0008512/0.0008512, 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 0.9201/0.9201, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.886/1.886, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 178] 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_RL,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.7463, allocations: 180 MB / 1.352 GB, free: 1.535 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005036/0.7514, allocations: 5.358 MB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.7549, allocations: 2.635 MB / 1.36 GB, free: 9.512 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004116/0.7553, allocations: 31.69 kB / 1.36 GB, free: 9.48 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.7564, allocations: 0.6893 MB / 1.361 GB, free: 8.789 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007395/0.7571, allocations: 421.7 kB / 1.361 GB, free: 8.375 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.7578, allocations: 408.2 kB / 1.362 GB, free: 7.977 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.7584, allocations: 0.9594 MB / 1.363 GB, free: 7.016 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.7588, allocations: 384.7 kB / 1.363 GB, free: 6.637 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.7592, allocations: 398.5 kB / 1.363 GB, free: 6.246 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.7595, allocations: 410.3 kB / 1.364 GB, free: 5.844 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.7595, allocations: 48 kB / 1.364 GB, free: 5.797 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.7599, allocations: 331.2 kB / 1.364 GB, free: 5.473 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.7601, allocations: 255.2 kB / 1.364 GB, free: 5.223 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.7602, allocations: 286.7 kB / 1.365 GB, free: 4.941 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000692/0.7609, allocations: 0.9883 MB / 1.366 GB, free: 3.949 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7609, allocations: 0 / 1.366 GB, free: 3.949 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.073e-06/0.7609, allocations: 0 / 1.366 GB, free: 3.949 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.7609, allocations: 0 / 1.366 GB, free: 3.949 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001048/0.762, allocations: 0.9131 MB / 1.367 GB, free: 3.004 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.762, allocations: 8.922 kB / 1.367 GB, free: 2.996 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.889e-05/0.7621, allocations: 106.7 kB / 1.367 GB, free: 2.883 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008123/0.7629, allocations: 196.2 kB / 1.367 GB, free: 2.691 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.7635, allocations: 472.8 kB / 1.367 GB, free: 2.203 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.7635, allocations: 49.3 kB / 1.367 GB, free: 2.156 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.7636, allocations: 52.55 kB / 1.367 GB, free: 2.105 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.7644, allocations: 0.9783 MB / 1.368 GB, free: 1.004 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.7645, allocations: 7.953 kB / 1.368 GB, free: 0.9961 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.7645, allocations: 23.98 kB / 1.368 GB, free: 0.9727 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.7646, allocations: 72.94 kB / 1.368 GB, free: 0.9023 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.7652, allocations: 0.5696 MB / 1.369 GB, free: 340 kB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.7677, allocations: 3.573 MB / 1.373 GB, free: 12.62 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.768, allocations: 272.4 kB / 1.373 GB, free: 12.35 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.7682, allocations: 213.3 kB / 1.373 GB, free: 12.14 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.7682, allocations: 288 / 1.373 GB, free: 12.14 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.7683, allocations: 38.78 kB / 1.373 GB, free: 12.09 MB / 1.057 GB Notification: Performance of pre-optimization done (n=33): time 1.202e-06/0.7683, allocations: 0 / 1.373 GB, free: 12.09 MB / 1.057 GB Notification: Performance of matching and sorting (n=40): time 0.003283/0.7715, allocations: 2.339 MB / 1.375 GB, free: 9.703 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.7716, allocations: 55.41 kB / 1.375 GB, free: 9.637 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.7719, allocations: 477.8 kB / 1.376 GB, free: 9.156 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.7719, allocations: 29.7 kB / 1.376 GB, free: 9.121 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.7721, allocations: 360.5 kB / 1.376 GB, free: 8.766 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.7721, allocations: 154.7 kB / 1.376 GB, free: 8.613 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.7723, allocations: 102.3 kB / 1.376 GB, free: 8.504 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7724, allocations: 362.8 kB / 1.377 GB, free: 8.141 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.7726, allocations: 237.2 kB / 1.377 GB, free: 7.91 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.7729, allocations: 410 kB / 1.377 GB, free: 7.434 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.7735, allocations: 0.674 MB / 1.378 GB, free: 6.688 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7735, allocations: 4 kB / 1.378 GB, free: 6.684 MB / 1.057 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009881/0.7745, allocations: 0.914 MB / 1.379 GB, free: 5.754 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7745, allocations: 11.97 kB / 1.379 GB, free: 5.742 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7745, allocations: 8 kB / 1.379 GB, free: 5.734 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004348/0.7749, allocations: 226.4 kB / 1.379 GB, free: 5.504 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.7752, allocations: 115.8 kB / 1.379 GB, free: 5.391 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.7782, allocations: 5.007 MB / 1.384 GB, free: 40 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.7784, allocations: 28.16 kB / 1.384 GB, free: 12 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.7785, allocations: 28.05 kB / 1.384 GB, free: 15.98 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0001948/0.7787, allocations: 226.1 kB / 1.384 GB, free: 15.75 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.7787, allocations: 63.56 kB / 1.384 GB, free: 15.69 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008841/0.7796, allocations: 0.7658 MB / 1.385 GB, free: 14.9 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.7796, allocations: 8 kB / 1.385 GB, free: 14.89 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7796, allocations: 0 / 1.385 GB, free: 14.89 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.7796, allocations: 0 / 1.385 GB, free: 14.89 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.7811, allocations: 1.404 MB / 1.387 GB, free: 13.41 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.7811, allocations: 4.219 kB / 1.387 GB, free: 13.41 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.7813, allocations: 67.89 kB / 1.387 GB, free: 13.34 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.7816, allocations: 202.4 kB / 1.387 GB, free: 13.13 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.7817, allocations: 11.98 kB / 1.387 GB, free: 13.12 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.7845, allocations: 4.936 MB / 1.392 GB, free: 7.844 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7845, allocations: 4.031 kB / 1.392 GB, free: 7.84 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.7855, allocations: 1.127 MB / 1.393 GB, free: 6.664 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.7857, allocations: 99.55 kB / 1.393 GB, free: 6.566 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.7857, allocations: 12.12 kB / 1.393 GB, free: 6.555 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.7859, allocations: 31.95 kB / 1.393 GB, free: 6.523 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.7859, allocations: 31.94 kB / 1.393 GB, free: 6.492 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.786, allocations: 16 kB / 1.393 GB, free: 6.477 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0002157/0.7862, allocations: 310.9 kB / 1.393 GB, free: 6.176 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.7862, allocations: 0 / 1.393 GB, free: 6.176 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0004372/0.7866, allocations: 168 kB / 1.393 GB, free: 6.012 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.7879, allocations: 1.696 MB / 1.395 GB, free: 4.254 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0009682/0.7889, allocations: 0.973 MB / 1.396 GB, free: 3.242 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7889, allocations: 3.938 kB / 1.396 GB, free: 3.238 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.7894, allocations: 0.6681 MB / 1.397 GB, free: 2.531 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.7899, allocations: 174.9 kB / 1.397 GB, free: 2.367 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005159/0.7951, allocations: 5.654 MB / 1.402 GB, free: 12.43 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.7953, allocations: 346.3 kB / 1.403 GB, free: 12.07 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.7956, allocations: 129 kB / 1.403 GB, free: 11.94 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.7958, allocations: 207.4 kB / 1.403 GB, free: 11.73 MB / 1.089 GB Notification: Performance of SimCode: time 1.072e-06/0.7958, allocations: 0 / 1.403 GB, free: 11.73 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.898, allocations: 15.72 MB / 1.418 GB, free: 12.39 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.774, allocations: 1.422 kB / 1.418 GB, free: 12.39 MB / 1.104 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_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_RL.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.504653116688132]