Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001551/0.001551, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001794/0.001794, 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.8955/0.8955, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.777/1.777, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.315e-05, allocations: 2.281 kB / 1.001 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01947/0.01949, allocations: 13.1 MB / 1.013 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.03412, allocations: 9.002 MB / 1.022 GB, free: 6.207 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.03608, allocations: 87.19 kB / 1.022 GB, free: 6.121 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.04072, allocations: 1.66 MB / 1.024 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.005463/0.04619, allocations: 1.631 MB / 1.026 GB, free: 2.824 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.04848, allocations: 0.7625 MB / 1.026 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.4443/0.4928, allocations: 2.599 MB / 1.029 GB, free: 18.19 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.4947, allocations: 1.18 MB / 1.03 GB, free: 18.1 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.4966, allocations: 1.582 MB / 1.032 GB, free: 18.1 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.4979, allocations: 0.9544 MB / 1.032 GB, free: 18.1 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.4981, allocations: 160.6 kB / 1.033 GB, free: 18.1 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.4993, allocations: 0.7372 MB / 1.033 GB, free: 18.1 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005385/0.4999, allocations: 0.6463 MB / 1.034 GB, free: 18.07 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000684/0.5006, allocations: 0.6413 MB / 1.035 GB, free: 17.99 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003288/0.5039, allocations: 2.774 MB / 1.037 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.5039, allocations: 1.406 kB / 1.037 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5039, allocations: 0 / 1.037 GB, free: 17.79 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.744e-05/0.5039, allocations: 1.281 kB / 1.037 GB, free: 17.79 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004104/0.508, allocations: 2.085 MB / 1.039 GB, free: 16.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.5081, allocations: 11.75 kB / 1.039 GB, free: 16.8 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002559/0.5083, allocations: 190.5 kB / 1.04 GB, free: 16.75 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006887/0.5152, allocations: 2.11 MB / 1.042 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.5174, allocations: 1.17 MB / 1.043 GB, free: 16.26 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.5174, allocations: 87.56 kB / 1.043 GB, free: 16.25 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.5176, allocations: 124.8 kB / 1.043 GB, free: 16.25 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/0.5218, allocations: 2.889 MB / 1.046 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.5218, allocations: 12.75 kB / 1.046 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.522, allocations: 57.83 kB / 1.046 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003972/0.5224, allocations: 184.9 kB / 1.046 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00484/0.5272, allocations: 2.791 MB / 1.049 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009452/0.5367, allocations: 8.328 MB / 1.057 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.5407, allocations: 2.229 MB / 1.059 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.5427, allocations: 1.211 MB / 1.06 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.5428, allocations: 9.281 kB / 1.06 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.5428, allocations: 45.08 kB / 1.06 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=89): time 4.118e-06/0.5428, allocations: 0 / 1.06 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of matching and sorting (n=131): time 0.02618/0.569, allocations: 12.66 MB / 1.073 GB, free: 6.516 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.569, allocations: 65.59 kB / 1.073 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.5702, allocations: 1.132 MB / 1.074 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.5703, allocations: 51.27 kB / 1.074 GB, free: 5.941 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.5706, allocations: 0.7249 MB / 1.075 GB, free: 5.367 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.5709, allocations: 468.6 kB / 1.075 GB, free: 5.004 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/0.5712, allocations: 263.8 kB / 1.075 GB, free: 4.891 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.5713, allocations: 357.4 kB / 1.076 GB, free: 4.566 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.5732, allocations: 1.342 MB / 1.077 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.5752, allocations: 1.604 MB / 1.078 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/0.579, allocations: 2.993 MB / 1.081 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.579, allocations: 2.188 kB / 1.081 GB, free: 1.426 MB / 0.9323 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006868/0.5859, allocations: 4.4 MB / 1.086 GB, free: 15.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5859, allocations: 9.062 kB / 1.086 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5859, allocations: 6.969 kB / 1.086 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/0.5889, allocations: 1.445 MB / 1.087 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.5901, allocations: 435.7 kB / 1.088 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/0.6077, allocations: 25.08 MB / 1.112 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.6095, allocations: 309.6 kB / 1.112 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.6097, allocations: 58.44 kB / 1.112 GB, free: 8.141 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008077/0.6105, allocations: 444.2 kB / 1.113 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.6107, allocations: 168.8 kB / 1.113 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006351/0.617, allocations: 4.411 MB / 1.117 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.617, allocations: 12.41 kB / 1.117 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.6171, allocations: 11.97 kB / 1.117 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.6171, allocations: 3.984 kB / 1.117 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008492/0.6256, allocations: 6.298 MB / 1.123 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.6256, allocations: 8.281 kB / 1.123 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009147/0.6265, allocations: 380.5 kB / 1.124 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002983/0.6295, allocations: 1.303 MB / 1.125 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.6296, allocations: 35.97 kB / 1.125 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.6488, allocations: 23.95 MB / 1.149 GB, free: 5.812 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6488, allocations: 7.469 kB / 1.149 GB, free: 5.809 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008397/0.6572, allocations: 4.159 MB / 1.153 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.6583, allocations: 382.7 kB / 1.153 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.6586, allocations: 24 kB / 1.153 GB, free: 1.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.6601, allocations: 311.5 kB / 1.153 GB, free: 0.8984 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004106/0.6605, allocations: 136.5 kB / 1.153 GB, free: 0.7695 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.6607, allocations: 47.97 kB / 1.153 GB, free: 0.7227 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001004/0.6617, allocations: 0.7525 MB / 1.154 GB, free: 15.97 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6617, allocations: 0 / 1.154 GB, free: 15.97 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002137/0.6638, allocations: 0.5703 MB / 1.155 GB, free: 15.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008514/0.6723, allocations: 4.756 MB / 1.159 GB, free: 10.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008563/0.6809, allocations: 4.957 MB / 1.164 GB, free: 5.508 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.6809, allocations: 4 kB / 1.164 GB, free: 5.504 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005226/0.6861, allocations: 3.406 MB / 1.168 GB, free: 1.945 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.6885, allocations: 0.5485 MB / 1.168 GB, free: 1.422 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02906/0.7176, allocations: 19.38 MB / 1.187 GB, free: 13.75 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008776/0.7185, allocations: 0.8795 MB / 1.188 GB, free: 12.84 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001164/0.7197, allocations: 425.6 kB / 1.188 GB, free: 12.42 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/0.7203, allocations: 0.6292 MB / 1.189 GB, free: 11.79 MB / 1.042 GB Notification: Performance of SimCode: time 1.453e-06/0.7203, allocations: 0 / 1.189 GB, free: 11.79 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1635/0.8839, allocations: 56.46 MB / 1.244 GB, free: 4.414 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/9.271, allocations: 9.375 kB / 1.244 GB, free: 4.41 MB / 1.089 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.752307957969606]