Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0008283/0.0008283, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0008994/0.0008994, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9375/0.9375, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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.781/1.781, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 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.ACLine_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.43e-05, allocations: 9.734 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02177/0.02178, allocations: 31.1 MB / 1.031 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4689/0.4907, allocations: 14.29 MB / 1.045 GB, free: 49.54 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/0.494, allocations: 213.7 kB / 1.045 GB, free: 49.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004546/0.4986, allocations: 3.671 MB / 1.049 GB, free: 49.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.5044, allocations: 3.075 MB / 1.052 GB, free: 48.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.5081, allocations: 2.367 MB / 1.054 GB, free: 48.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.006888/0.515, allocations: 9.003 MB / 1.063 GB, free: 47.33 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005136/0.5201, allocations: 5.507 MB / 1.068 GB, free: 45.16 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005465/0.5256, allocations: 5.682 MB / 1.074 GB, free: 42.94 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.5289, allocations: 3.662 MB / 1.077 GB, free: 42.07 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.53, allocations: 0.7115 MB / 1.078 GB, free: 42.07 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.5326, allocations: 1.632 MB / 1.08 GB, free: 41.86 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.5345, allocations: 3.016 MB / 1.083 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.5371, allocations: 2.362 MB / 1.085 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.5499, allocations: 11.37 MB / 1.096 GB, free: 36.32 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.5499, allocations: 0.7969 kB / 1.096 GB, free: 36.32 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5499, allocations: 0 / 1.096 GB, free: 36.32 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003301/0.5502, allocations: 0 / 1.096 GB, free: 36.32 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01255/0.5628, allocations: 5.98 MB / 1.102 GB, free: 33.05 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5628, allocations: 10.97 kB / 1.102 GB, free: 33.05 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001012/0.5638, allocations: 0.7296 MB / 1.103 GB, free: 32.66 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/0.5684, allocations: 1.176 MB / 1.104 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005933/0.5744, allocations: 3.457 MB / 1.107 GB, free: 30.73 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.5745, allocations: 369.5 kB / 1.107 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007053/0.5752, allocations: 498.2 kB / 1.108 GB, free: 30.41 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.5877, allocations: 8.705 MB / 1.116 GB, free: 26.28 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.5878, allocations: 22.14 kB / 1.116 GB, free: 26.28 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000444/0.5883, allocations: 219.4 kB / 1.117 GB, free: 26.12 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008122/0.5891, allocations: 438.7 kB / 1.117 GB, free: 26.08 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009092/0.5982, allocations: 6.076 MB / 1.123 GB, free: 24.02 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02267/0.6209, allocations: 22.02 MB / 1.145 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.6228, allocations: 1.906 MB / 1.146 GB, free: 9.633 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.6244, allocations: 1.745 MB / 1.148 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.084e-05/0.6245, allocations: 21.77 kB / 1.148 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.6246, allocations: 55.31 kB / 1.148 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=171): time 4.548e-06/0.6246, allocations: 4 kB / 1.148 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.07731/0.7019, allocations: 38.7 MB / 1.186 GB, free: 12.41 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.7019, allocations: 85.58 kB / 1.186 GB, free: 12.32 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.7046, allocations: 2.32 MB / 1.188 GB, free: 9.98 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.7048, allocations: 73.7 kB / 1.188 GB, free: 9.902 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.7058, allocations: 2.334 MB / 1.191 GB, free: 7.555 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005501/0.7064, allocations: 0.9614 MB / 1.192 GB, free: 6.605 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006123/0.707, allocations: 0.5063 MB / 1.192 GB, free: 6.09 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.707, allocations: 301.1 kB / 1.192 GB, free: 5.793 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.709, allocations: 1.973 MB / 1.194 GB, free: 3.816 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.7113, allocations: 2.598 MB / 1.197 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004424/0.7157, allocations: 4.933 MB / 1.202 GB, free: 11.77 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.7157, allocations: 8 kB / 1.202 GB, free: 11.77 MB / 1.042 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009024/0.7247, allocations: 7.652 MB / 1.209 GB, free: 4.047 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.7248, allocations: 15.94 kB / 1.209 GB, free: 4.031 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.7248, allocations: 20 kB / 1.209 GB, free: 4.012 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005183/0.73, allocations: 3.21 MB / 1.212 GB, free: 0.7891 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/0.7309, allocations: 406.4 kB / 1.213 GB, free: 404 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02764/0.7586, allocations: 32.73 MB / 1.245 GB, free: 15 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.7609, allocations: 171.8 kB / 1.245 GB, free: 14.83 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.7611, allocations: 108 kB / 1.245 GB, free: 14.72 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002931/0.764, allocations: 1.797 MB / 1.247 GB, free: 12.91 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/0.7645, allocations: 349.9 kB / 1.247 GB, free: 12.57 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008284/0.7728, allocations: 7.239 MB / 1.254 GB, free: 5.25 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.7728, allocations: 28 kB / 1.254 GB, free: 5.223 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.016e-05/0.7729, allocations: 28 kB / 1.254 GB, free: 5.195 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.7729, allocations: 11.95 kB / 1.254 GB, free: 5.184 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.7878, allocations: 12.15 MB / 1.266 GB, free: 8.922 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.7878, allocations: 8 kB / 1.266 GB, free: 8.914 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/0.7883, allocations: 229.3 kB / 1.266 GB, free: 8.691 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004362/0.7927, allocations: 2.853 MB / 1.269 GB, free: 5.824 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.7929, allocations: 52 kB / 1.269 GB, free: 5.773 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02662/0.8195, allocations: 31.54 MB / 1.3 GB, free: 5.555 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8195, allocations: 7.938 kB / 1.3 GB, free: 5.547 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007956/0.8274, allocations: 6.775 MB / 1.307 GB, free: 14.55 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.829, allocations: 0.7224 MB / 1.307 GB, free: 13.83 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/0.8294, allocations: 55.94 kB / 1.307 GB, free: 13.78 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.8304, allocations: 167.8 kB / 1.307 GB, free: 13.61 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006536/0.8311, allocations: 265.3 kB / 1.308 GB, free: 13.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.8312, allocations: 76 kB / 1.308 GB, free: 13.28 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001673/0.8329, allocations: 1.525 MB / 1.309 GB, free: 11.75 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8329, allocations: 0 / 1.309 GB, free: 11.75 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003206/0.8361, allocations: 1.371 MB / 1.311 GB, free: 10.38 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00757/0.8436, allocations: 7.407 MB / 1.318 GB, free: 2.754 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007405/0.851, allocations: 6.55 MB / 1.324 GB, free: 12.15 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.8511, allocations: 4 kB / 1.324 GB, free: 12.14 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004503/0.8556, allocations: 4.244 MB / 1.328 GB, free: 7.816 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/0.8588, allocations: 1.122 MB / 1.329 GB, free: 6.73 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04729/0.9061, allocations: 39.19 MB / 1.368 GB, free: 14.44 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003129/0.9092, allocations: 3.116 MB / 1.371 GB, free: 11.29 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.001565/0.9108, allocations: 0.5595 MB / 1.371 GB, free: 10.72 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/0.9123, allocations: 1.973 MB / 1.373 GB, free: 8.75 MB / 1.214 GB Notification: Performance of SimCode: time 1.523e-06/0.9123, allocations: 0 / 1.373 GB, free: 8.75 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.189/1.101, allocations: 118.8 MB / 1.489 GB, free: 3.824 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.48, allocations: 19.09 kB / 1.489 GB, free: 3.809 MB / 1.323 GB " [Timeout remaining time 288] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.134902357123792]