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.001157/0.001157, 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.001326/0.001326, allocations: 207.8 kB / 23.02 MB, free: 2.965 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.9535/0.9535, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.027/2.027, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 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_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 0.0009607/0.0009607, allocations: 67.89 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8012/0.8021, allocations: 180 MB / 1.352 GB, free: 1.59 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02455/0.8267, allocations: 31.71 MB / 1.383 GB, free: 1.781 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.8438, allocations: 14.45 MB / 1.398 GB, free: 3.289 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003356/0.8471, allocations: 210.4 kB / 1.398 GB, free: 3.082 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.005491/0.8526, allocations: 3.673 MB / 1.401 GB, free: 15.4 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.007557/0.8602, allocations: 2.984 MB / 1.404 GB, free: 12.4 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.005359/0.8655, allocations: 2.335 MB / 1.407 GB, free: 10.07 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.8764, allocations: 8.808 MB / 1.415 GB, free: 1.234 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008111/0.8845, allocations: 5.498 MB / 1.42 GB, free: 11.62 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006936/0.8914, allocations: 4.227 MB / 1.425 GB, free: 7.379 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006169/0.8976, allocations: 3.932 MB / 1.428 GB, free: 3.434 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.001923/0.8995, allocations: 0.7109 MB / 1.429 GB, free: 2.723 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003704/0.9032, allocations: 1.607 MB / 1.431 GB, free: 1.113 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.002972/0.9062, allocations: 2.891 MB / 1.434 GB, free: 14.21 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.005224/0.9114, allocations: 2.755 MB / 1.436 GB, free: 11.45 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.9233, allocations: 11.24 MB / 1.447 GB, free: 176 kB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.9233, allocations: 4 kB / 1.447 GB, free: 172 kB / 1.12 GB Notification: Performance of FrontEnd: time 3.466e-06/0.9233, allocations: 0 / 1.447 GB, free: 172 kB / 1.12 GB Notification: Performance of Transformations before backend: time 0.0004348/0.9238, allocations: 0 / 1.447 GB, free: 172 kB / 1.12 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.01319/0.937, allocations: 6.041 MB / 1.453 GB, free: 10.06 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.937, allocations: 8.922 kB / 1.453 GB, free: 10.05 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001737/0.9388, allocations: 0.7193 MB / 1.454 GB, free: 9.32 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005516/0.9443, allocations: 1.168 MB / 1.455 GB, free: 8.148 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006936/0.9512, allocations: 3.446 MB / 1.458 GB, free: 4.613 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.9515, allocations: 382.4 kB / 1.459 GB, free: 4.238 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001687/0.9532, allocations: 0.492 MB / 1.459 GB, free: 3.746 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.9695, allocations: 8.697 MB / 1.468 GB, free: 10.61 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/0.9696, allocations: 19.83 kB / 1.468 GB, free: 10.59 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008571/0.9705, allocations: 216 kB / 1.468 GB, free: 10.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006346/0.9711, allocations: 441.5 kB / 1.468 GB, free: 9.941 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.982, allocations: 6.073 MB / 1.474 GB, free: 3.855 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02794/1.01, allocations: 22.05 MB / 1.496 GB, free: 13.31 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/1.012, allocations: 1.905 MB / 1.498 GB, free: 11.4 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/1.014, allocations: 1.752 MB / 1.499 GB, free: 9.648 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 8.945e-05/1.014, allocations: 18 kB / 1.499 GB, free: 9.629 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/1.014, allocations: 60.5 kB / 1.499 GB, free: 9.562 MB / 1.182 GB Notification: Performance of pre-optimization done (n=171): time 5.29e-06/1.014, allocations: 4 kB / 1.499 GB, free: 9.559 MB / 1.182 GB Notification: Performance of matching and sorting (n=276): time 0.07582/1.09, allocations: 38.69 MB / 1.537 GB, free: 2.812 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.09, allocations: 89.58 kB / 1.537 GB, free: 2.711 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/1.093, allocations: 2.317 MB / 1.54 GB, free: 388 kB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0003281/1.093, allocations: 73.7 kB / 1.54 GB, free: 308 kB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/1.094, allocations: 2.338 MB / 1.542 GB, free: 13.94 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/1.095, allocations: 0.9837 MB / 1.543 GB, free: 12.95 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006214/1.095, allocations: 0.5025 MB / 1.543 GB, free: 12.44 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 8.607e-05/1.096, allocations: 317 kB / 1.544 GB, free: 12.12 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.098, allocations: 1.97 MB / 1.546 GB, free: 10.15 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/1.1, allocations: 2.599 MB / 1.548 GB, free: 7.312 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004638/1.105, allocations: 4.937 MB / 1.553 GB, free: 2.102 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/1.105, allocations: 8 kB / 1.553 GB, free: 2.094 MB / 1.229 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01005/1.115, allocations: 7.65 MB / 1.56 GB, free: 10.37 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/1.115, allocations: 16 kB / 1.56 GB, free: 10.36 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/1.115, allocations: 20 kB / 1.56 GB, free: 10.34 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005577/1.12, allocations: 3.2 MB / 1.564 GB, free: 7.121 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.122, allocations: 403.4 kB / 1.564 GB, free: 6.727 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02947/1.151, allocations: 32.76 MB / 1.596 GB, free: 5.273 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/1.153, allocations: 167.8 kB / 1.596 GB, free: 5.109 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/1.154, allocations: 108 kB / 1.596 GB, free: 5.004 MB / 1.276 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.002904/1.156, allocations: 1.79 MB / 1.598 GB, free: 3.203 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006301/1.157, allocations: 349.9 kB / 1.598 GB, free: 2.859 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008398/1.165, allocations: 7.247 MB / 1.605 GB, free: 11.53 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/1.166, allocations: 28 kB / 1.605 GB, free: 11.5 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.766e-05/1.166, allocations: 28 kB / 1.605 GB, free: 11.48 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/1.166, allocations: 11.95 kB / 1.605 GB, free: 11.46 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/1.181, allocations: 12.15 MB / 1.617 GB, free: 15.15 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.181, allocations: 11.94 kB / 1.617 GB, free: 15.14 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/1.181, allocations: 227.6 kB / 1.618 GB, free: 14.91 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004635/1.186, allocations: 2.841 MB / 1.62 GB, free: 12.05 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/1.186, allocations: 52 kB / 1.62 GB, free: 12 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02807/1.214, allocations: 31.54 MB / 1.651 GB, free: 11.76 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/1.214, allocations: 7.938 kB / 1.651 GB, free: 11.75 MB / 1.339 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/1.222, allocations: 6.779 MB / 1.658 GB, free: 4.762 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/1.224, allocations: 0.7242 MB / 1.659 GB, free: 4.035 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/1.224, allocations: 59.94 kB / 1.659 GB, free: 3.977 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.225, allocations: 167.8 kB / 1.659 GB, free: 3.812 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009099/1.226, allocations: 269 kB / 1.659 GB, free: 3.547 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.226, allocations: 76 kB / 1.659 GB, free: 3.473 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.001891/1.228, allocations: 1.525 MB / 1.661 GB, free: 1.945 MB / 1.339 GB Notification: Performance of sort global known variables: time 1.5e-07/1.228, allocations: 0 / 1.661 GB, free: 1.945 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.003822/1.232, allocations: 1.372 MB / 1.662 GB, free: 0.5742 MB / 1.339 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.007993/1.24, allocations: 7.408 MB / 1.669 GB, free: 8.941 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.007788/1.248, allocations: 6.571 MB / 1.676 GB, free: 2.27 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.248, allocations: 4 kB / 1.676 GB, free: 2.266 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.004953/1.253, allocations: 4.261 MB / 1.68 GB, free: 13.93 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/1.256, allocations: 1.122 MB / 1.681 GB, free: 12.84 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7276/1.984, allocations: 39.04 MB / 1.719 GB, free: 324.7 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004377/1.988, allocations: 3.113 MB / 1.722 GB, free: 324.4 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.001821/1.99, allocations: 0.5625 MB / 1.723 GB, free: 324.4 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/1.992, allocations: 1.97 MB / 1.724 GB, free: 324.1 MB / 1.385 GB Notification: Performance of SimCode: time 2.144e-06/1.992, allocations: 1.062 kB / 1.724 GB, free: 324.1 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2264/2.218, allocations: 119.1 MB / 1.841 GB, free: 224.7 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.895/12.11, allocations: 15.61 kB / 1.841 GB, free: 224.7 MB / 1.385 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: 17.32397534046322]