Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001359/0.001359, allocations: 104.3 kB / 19.72 MB, free: 416 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.001195/0.001195, allocations: 209.2 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.9908/0.9908, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.985/1.985, allocations: 0.5046 GB / 0.8104 GB, free: 2.781 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 63.91 kB / 1.177 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7185/0.7195, allocations: 180 MB / 1.352 GB, free: 1.676 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00593/0.7255, allocations: 6.559 MB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003119/0.7286, allocations: 3.067 MB / 1.362 GB, free: 8.012 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.7289, allocations: 39.69 kB / 1.362 GB, free: 7.973 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.7301, allocations: 0.9551 MB / 1.363 GB, free: 7.016 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006802/0.7308, allocations: 0.5206 MB / 1.363 GB, free: 6.492 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.7314, allocations: 448.8 kB / 1.364 GB, free: 6.055 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0007911/0.7322, allocations: 1.232 MB / 1.365 GB, free: 4.816 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005517/0.7327, allocations: 0.5356 MB / 1.365 GB, free: 4.281 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.7332, allocations: 498.2 kB / 1.366 GB, free: 3.793 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.7337, allocations: 0.5175 MB / 1.366 GB, free: 3.273 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.7337, allocations: 68 kB / 1.367 GB, free: 3.207 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.7341, allocations: 339.3 kB / 1.367 GB, free: 2.875 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.7343, allocations: 323.1 kB / 1.367 GB, free: 2.559 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.7345, allocations: 370.2 kB / 1.368 GB, free: 2.195 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008071/0.7353, allocations: 1.241 MB / 1.369 GB, free: 0.9492 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7353, allocations: 0 / 1.369 GB, free: 0.9492 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7353, allocations: 0 / 1.369 GB, free: 0.9492 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.7353, allocations: 0 / 1.369 GB, free: 0.9492 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001196/0.7365, allocations: 1.112 MB / 1.37 GB, free: 15.8 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7366, allocations: 12.92 kB / 1.37 GB, free: 15.79 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.7367, allocations: 118.7 kB / 1.37 GB, free: 15.66 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009132/0.7376, allocations: 248.1 kB / 1.37 GB, free: 15.42 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.7382, allocations: 0.532 MB / 1.371 GB, free: 14.86 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.7382, allocations: 49.67 kB / 1.371 GB, free: 14.81 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.7383, allocations: 72.31 kB / 1.371 GB, free: 14.74 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.7393, allocations: 1.344 MB / 1.372 GB, free: 13.22 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.7394, allocations: 3.938 kB / 1.372 GB, free: 13.22 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.7394, allocations: 28 kB / 1.372 GB, free: 13.19 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.887e-05/0.7395, allocations: 85.25 kB / 1.372 GB, free: 13.11 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008522/0.7404, allocations: 0.7465 MB / 1.373 GB, free: 12.36 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.7434, allocations: 4.635 MB / 1.377 GB, free: 7.559 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.7441, allocations: 0.5122 MB / 1.378 GB, free: 7.039 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.7443, allocations: 290 kB / 1.378 GB, free: 6.754 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.7444, allocations: 4.438 kB / 1.378 GB, free: 6.75 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.7444, allocations: 39 kB / 1.378 GB, free: 6.703 MB / 1.057 GB Notification: Performance of pre-optimization done (n=47): time 2.956e-06/0.7444, allocations: 0 / 1.378 GB, free: 6.703 MB / 1.057 GB Notification: Performance of matching and sorting (n=48): time 0.002305/0.7467, allocations: 1.698 MB / 1.38 GB, free: 4.984 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.7467, allocations: 55.84 kB / 1.38 GB, free: 4.918 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.7471, allocations: 0.5781 MB / 1.381 GB, free: 4.328 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.7472, allocations: 33.7 kB / 1.381 GB, free: 4.289 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.7473, allocations: 424 kB / 1.381 GB, free: 3.871 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.7474, allocations: 182.5 kB / 1.381 GB, free: 3.691 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.7476, allocations: 126.6 kB / 1.381 GB, free: 3.562 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7477, allocations: 386.6 kB / 1.382 GB, free: 3.176 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.7479, allocations: 269.8 kB / 1.382 GB, free: 2.91 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.7483, allocations: 497.4 kB / 1.382 GB, free: 2.332 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006798/0.749, allocations: 0.8122 MB / 1.383 GB, free: 1.426 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.749, allocations: 4 kB / 1.383 GB, free: 1.422 MB / 1.057 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001105/0.7501, allocations: 1.078 MB / 1.384 GB, free: 336 kB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.7501, allocations: 8 kB / 1.384 GB, free: 328 kB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7501, allocations: 4 kB / 1.384 GB, free: 324 kB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.7506, allocations: 279.7 kB / 1.385 GB, free: 32 kB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.7509, allocations: 123.8 kB / 1.385 GB, free: 15.91 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/0.7548, allocations: 6.686 MB / 1.391 GB, free: 8.766 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.7551, allocations: 39.95 kB / 1.391 GB, free: 8.727 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.7551, allocations: 28.12 kB / 1.391 GB, free: 8.699 MB / 1.073 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.000225/0.7554, allocations: 257.5 kB / 1.392 GB, free: 8.438 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.7554, allocations: 75.53 kB / 1.392 GB, free: 8.363 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009296/0.7564, allocations: 0.8886 MB / 1.392 GB, free: 7.449 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7564, allocations: 8 kB / 1.392 GB, free: 7.441 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7564, allocations: 11.88 kB / 1.392 GB, free: 7.43 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7564, allocations: 3.984 kB / 1.392 GB, free: 7.426 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.758, allocations: 1.599 MB / 1.394 GB, free: 5.746 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.758, allocations: 3.938 kB / 1.394 GB, free: 5.742 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.7582, allocations: 64.08 kB / 1.394 GB, free: 5.68 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.7586, allocations: 271.1 kB / 1.394 GB, free: 5.402 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.7586, allocations: 8 kB / 1.394 GB, free: 5.395 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.7624, allocations: 6.671 MB / 1.401 GB, free: 14.27 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7624, allocations: 12 kB / 1.401 GB, free: 14.25 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/0.7634, allocations: 0.9837 MB / 1.402 GB, free: 13.22 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.7636, allocations: 115.5 kB / 1.402 GB, free: 13.11 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.7636, allocations: 23.98 kB / 1.402 GB, free: 13.09 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.7638, allocations: 23.97 kB / 1.402 GB, free: 13.06 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.7639, allocations: 43.92 kB / 1.402 GB, free: 13.02 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.7639, allocations: 16 kB / 1.402 GB, free: 13 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0003236/0.7643, allocations: 391.1 kB / 1.402 GB, free: 12.63 MB / 1.089 GB Notification: Performance of sort global known variables: time 4e-08/0.7643, allocations: 0 / 1.402 GB, free: 12.63 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0006162/0.7649, allocations: 224 kB / 1.403 GB, free: 12.41 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/0.766, allocations: 1.54 MB / 1.404 GB, free: 10.8 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.7672, allocations: 1.236 MB / 1.405 GB, free: 9.52 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7672, allocations: 0 / 1.405 GB, free: 9.52 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.7678, allocations: 0.8581 MB / 1.406 GB, free: 8.609 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/0.7684, allocations: 222.2 kB / 1.406 GB, free: 8.398 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.7738, allocations: 6.406 MB / 1.413 GB, free: 1.664 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.7741, allocations: 428.7 kB / 1.413 GB, free: 1.219 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002515/0.7743, allocations: 114 kB / 1.413 GB, free: 1.105 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.7745, allocations: 263.3 kB / 1.413 GB, free: 0.8477 MB / 1.089 GB Notification: Performance of SimCode: time 8.41e-07/0.7745, allocations: 0 / 1.413 GB, free: 0.8477 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09647/0.871, allocations: 19.36 MB / 1.432 GB, free: 13.91 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.875, allocations: 3.422 kB / 1.432 GB, free: 13.91 MB / 1.12 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_R.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.712662397883832]