Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0008909/0.0008909, allocations: 104.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.000988/0.000988, allocations: 207.8 kB / 23.02 MB, free: 2.961 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.9503/0.9503, 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.897/1.897, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009053/0.0009053, allocations: 71.91 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6797/0.6806, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00826/0.6889, allocations: 9.648 MB / 1.362 GB, free: 7.984 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004284/0.6932, allocations: 3.151 MB / 1.365 GB, free: 4.824 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000582/0.6937, allocations: 47.62 kB / 1.365 GB, free: 4.777 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.6948, allocations: 0.6034 MB / 1.366 GB, free: 4.172 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.696, allocations: 0.7856 MB / 1.366 GB, free: 3.383 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.6971, allocations: 0.7426 MB / 1.367 GB, free: 2.641 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.00232/0.6995, allocations: 2.988 MB / 1.37 GB, free: 15.65 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.7008, allocations: 1.404 MB / 1.371 GB, free: 14.2 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.7023, allocations: 1.293 MB / 1.373 GB, free: 12.9 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.7041, allocations: 1.636 MB / 1.374 GB, free: 11.26 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.7044, allocations: 236 kB / 1.374 GB, free: 11.03 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009451/0.7053, allocations: 479.4 kB / 1.375 GB, free: 10.56 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0008288/0.7062, allocations: 1.099 MB / 1.376 GB, free: 9.457 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0008122/0.707, allocations: 0.9104 MB / 1.377 GB, free: 8.543 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.7096, allocations: 3.717 MB / 1.381 GB, free: 4.816 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.7096, allocations: 0 / 1.381 GB, free: 4.816 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.946e-06/0.7096, allocations: 4 kB / 1.381 GB, free: 4.812 MB / 1.057 GB Notification: Performance of Transformations before backend: time 5.132e-05/0.7097, allocations: 0 / 1.381 GB, free: 4.812 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002867/0.7125, allocations: 2.119 MB / 1.383 GB, free: 2.652 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.7126, allocations: 8.922 kB / 1.383 GB, free: 2.645 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002412/0.7128, allocations: 265.2 kB / 1.383 GB, free: 2.375 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/0.7175, allocations: 1.322 MB / 1.384 GB, free: 1.051 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/0.7203, allocations: 1.262 MB / 1.385 GB, free: 15.76 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/0.7204, allocations: 119.3 kB / 1.385 GB, free: 15.64 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005202/0.7209, allocations: 148.3 kB / 1.386 GB, free: 15.5 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005487/0.7264, allocations: 3.516 MB / 1.389 GB, free: 11.87 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/0.7264, allocations: 4 kB / 1.389 GB, free: 11.86 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.7266, allocations: 63.97 kB / 1.389 GB, free: 11.8 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.7269, allocations: 211 kB / 1.389 GB, free: 11.59 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.7312, allocations: 3.116 MB / 1.392 GB, free: 8.473 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.7422, allocations: 10.09 MB / 1.402 GB, free: 14.18 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.7439, allocations: 1.607 MB / 1.404 GB, free: 12.57 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.7453, allocations: 1.331 MB / 1.405 GB, free: 11.23 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/0.7453, allocations: 13 kB / 1.405 GB, free: 11.22 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.7454, allocations: 43.56 kB / 1.405 GB, free: 11.17 MB / 1.089 GB Notification: Performance of pre-optimization done (n=104): time 5.109e-06/0.7454, allocations: 0 / 1.405 GB, free: 11.17 MB / 1.089 GB Notification: Performance of matching and sorting (n=183): time 0.07009/0.8155, allocations: 36.19 MB / 1.44 GB, free: 6.934 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.8155, allocations: 73.39 kB / 1.441 GB, free: 6.848 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.8166, allocations: 1.073 MB / 1.442 GB, free: 5.75 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0003086/0.8169, allocations: 53.7 kB / 1.442 GB, free: 5.691 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.8173, allocations: 0.8131 MB / 1.442 GB, free: 4.871 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004586/0.8178, allocations: 0.6507 MB / 1.443 GB, free: 4.215 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004946/0.8183, allocations: 367.4 kB / 1.443 GB, free: 3.852 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.8183, allocations: 305.1 kB / 1.444 GB, free: 3.551 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.8203, allocations: 1.928 MB / 1.446 GB, free: 1.621 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.8224, allocations: 2.293 MB / 1.448 GB, free: 15.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/0.8265, allocations: 4.384 MB / 1.452 GB, free: 10.69 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.8265, allocations: 4 kB / 1.452 GB, free: 10.69 MB / 1.135 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01186/0.8383, allocations: 8.879 MB / 1.461 GB, free: 1.781 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.8384, allocations: 8 kB / 1.461 GB, free: 1.773 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.8384, allocations: 12 kB / 1.461 GB, free: 1.762 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009029/0.8474, allocations: 4.969 MB / 1.466 GB, free: 12.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.848, allocations: 187.7 kB / 1.466 GB, free: 12.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03548/0.8835, allocations: 38 MB / 1.503 GB, free: 6.121 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.8848, allocations: 107.9 kB / 1.503 GB, free: 6.016 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.885, allocations: 67.98 kB / 1.503 GB, free: 5.949 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * 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: 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00099/0.886, allocations: 0.8038 MB / 1.504 GB, free: 5.137 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.8862, allocations: 147.1 kB / 1.504 GB, free: 4.992 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.8977, allocations: 8.749 MB / 1.513 GB, free: 12.21 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.8977, allocations: 16 kB / 1.513 GB, free: 12.19 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-05/0.8978, allocations: 28 kB / 1.513 GB, free: 12.16 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/0.8978, allocations: 11.97 kB / 1.513 GB, free: 12.15 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.9147, allocations: 12.65 MB / 1.525 GB, free: 15.38 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.9147, allocations: 4 kB / 1.525 GB, free: 15.38 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.9151, allocations: 119.9 kB / 1.525 GB, free: 15.26 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009442/0.9245, allocations: 4.829 MB / 1.53 GB, free: 10.41 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003205/0.9249, allocations: 28 kB / 1.53 GB, free: 10.39 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03441/0.9593, allocations: 35.92 MB / 1.565 GB, free: 5.984 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.9593, allocations: 11.88 kB / 1.565 GB, free: 5.973 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.9711, allocations: 8.441 MB / 1.573 GB, free: 13.44 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.9722, allocations: 0.5808 MB / 1.574 GB, free: 12.86 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.9724, allocations: 44 kB / 1.574 GB, free: 12.82 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/0.9731, allocations: 91.89 kB / 1.574 GB, free: 12.73 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007226/0.9738, allocations: 177.4 kB / 1.574 GB, free: 12.56 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.831e-05/0.9739, allocations: 48 kB / 1.574 GB, free: 12.51 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.0007106/0.9746, allocations: 0.7421 MB / 1.575 GB, free: 11.76 MB / 1.26 GB Notification: Performance of sort global known variables: time 6e-08/0.9746, allocations: 0 / 1.575 GB, free: 11.76 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.002389/0.977, allocations: 1.004 MB / 1.576 GB, free: 10.75 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01159/0.9886, allocations: 9.043 MB / 1.585 GB, free: 1.613 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.007047/0.9957, allocations: 5.749 MB / 1.59 GB, free: 11.82 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.9957, allocations: 0 / 1.59 GB, free: 11.82 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.004972/1.001, allocations: 3.776 MB / 1.594 GB, free: 7.992 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.002, allocations: 230.4 kB / 1.594 GB, free: 7.77 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03975/1.042, allocations: 30.84 MB / 1.624 GB, free: 8.398 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/1.043, allocations: 1.271 MB / 1.626 GB, free: 7.09 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0006356/1.044, allocations: 359.3 kB / 1.626 GB, free: 6.734 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/1.044, allocations: 0.6086 MB / 1.626 GB, free: 6.125 MB / 1.307 GB Notification: Performance of SimCode: time 1.363e-06/1.044, allocations: 0 / 1.626 GB, free: 6.125 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/1.197, allocations: 80.65 MB / 1.705 GB, free: 5.535 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.71/9.906, allocations: 8.047 kB / 1.705 GB, free: 5.527 MB / 1.385 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_ACLineMatrix_RLC_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.297528726048768]