Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0007754/0.0007754, allocations: 104.3 kB / 19.72 MB, free: 424 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.0008754/0.0008754, allocations: 210.8 kB / 23.02 MB, free: 2.973 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.9574/0.9574, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.992/1.992, allocations: 0.5045 GB / 0.8104 GB, free: 2.758 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,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 71.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7747/0.7757, allocations: 180 MB / 1.352 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02077/0.7965, allocations: 29.28 MB / 1.381 GB, free: 4.262 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.8117, allocations: 13.2 MB / 1.394 GB, free: 7.027 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.8139, allocations: 202.4 kB / 1.394 GB, free: 6.828 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.003692/0.8176, allocations: 3.198 MB / 1.397 GB, free: 3.621 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.8222, allocations: 2.756 MB / 1.4 GB, free: 0.8516 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.8248, allocations: 2.013 MB / 1.402 GB, free: 14.84 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.005179/0.83, allocations: 7.628 MB / 1.409 GB, free: 7.191 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003761/0.8338, allocations: 4.596 MB / 1.414 GB, free: 2.473 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.8367, allocations: 3.666 MB / 1.417 GB, free: 14.8 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.8393, allocations: 3.285 MB / 1.421 GB, free: 11.5 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0005181/0.8399, allocations: 0.5976 MB / 1.421 GB, free: 10.9 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.8418, allocations: 1.393 MB / 1.423 GB, free: 9.508 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.001361/0.8432, allocations: 2.416 MB / 1.425 GB, free: 7.086 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.8448, allocations: 2.334 MB / 1.427 GB, free: 4.742 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.005891/0.8507, allocations: 9.512 MB / 1.437 GB, free: 11.2 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8507, allocations: 0 / 1.437 GB, free: 11.2 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8507, allocations: 0 / 1.437 GB, free: 11.2 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.373e-05/0.8508, allocations: 4 kB / 1.437 GB, free: 11.2 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.005402/0.8562, allocations: 5.172 MB / 1.442 GB, free: 5.957 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.8563, allocations: 12.92 kB / 1.442 GB, free: 5.945 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005275/0.8568, allocations: 0.6125 MB / 1.442 GB, free: 5.32 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/0.8599, allocations: 1.032 MB / 1.443 GB, free: 4.285 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.8634, allocations: 3.006 MB / 1.446 GB, free: 1.188 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.8635, allocations: 320.8 kB / 1.446 GB, free: 0.8711 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/0.8639, allocations: 419.9 kB / 1.447 GB, free: 472 kB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007143/0.8711, allocations: 7.366 MB / 1.454 GB, free: 8.672 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.679e-05/0.8711, allocations: 19.83 kB / 1.454 GB, free: 8.652 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/0.8714, allocations: 180 kB / 1.454 GB, free: 8.477 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004322/0.8718, allocations: 376 kB / 1.455 GB, free: 8.105 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005377/0.8772, allocations: 5.106 MB / 1.46 GB, free: 2.98 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01695/0.8942, allocations: 19.77 MB / 1.479 GB, free: 14.68 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.8956, allocations: 1.313 MB / 1.48 GB, free: 13.36 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.8967, allocations: 1.242 MB / 1.481 GB, free: 12.11 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.8968, allocations: 13.31 kB / 1.481 GB, free: 12.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.8968, allocations: 51.86 kB / 1.481 GB, free: 12.04 MB / 1.167 GB Notification: Performance of pre-optimization done (n=130): time 3.216e-06/0.8968, allocations: 0 / 1.481 GB, free: 12.04 MB / 1.167 GB Notification: Performance of matching and sorting (n=199): time 0.04395/0.9408, allocations: 22.85 MB / 1.504 GB, free: 5.129 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.9408, allocations: 81.33 kB / 1.504 GB, free: 5.035 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.943, allocations: 2.097 MB / 1.506 GB, free: 2.922 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.9432, allocations: 57.7 kB / 1.506 GB, free: 2.859 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009793/0.9442, allocations: 2.07 MB / 1.508 GB, free: 0.7695 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/0.9447, allocations: 0.7048 MB / 1.509 GB, free: 60 kB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/0.9451, allocations: 412.4 kB / 1.509 GB, free: 15.64 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9452, allocations: 309.1 kB / 1.509 GB, free: 15.34 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.9467, allocations: 1.43 MB / 1.511 GB, free: 13.91 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.9487, allocations: 2.01 MB / 1.513 GB, free: 11.65 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.9523, allocations: 3.692 MB / 1.516 GB, free: 7.715 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.9523, allocations: 4 kB / 1.516 GB, free: 7.711 MB / 1.198 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007234/0.9596, allocations: 5.608 MB / 1.522 GB, free: 2.039 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.9596, allocations: 12 kB / 1.522 GB, free: 2.027 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.9596, allocations: 16.09 kB / 1.522 GB, free: 2.012 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003614/0.9632, allocations: 2.083 MB / 1.524 GB, free: 15.87 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/0.9642, allocations: 383.4 kB / 1.524 GB, free: 15.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02569/0.9899, allocations: 36.27 MB / 1.56 GB, free: 9.156 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.9918, allocations: 131.9 kB / 1.56 GB, free: 9.027 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.992, allocations: 88.09 kB / 1.56 GB, free: 8.941 MB / 1.245 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.00235/0.9944, allocations: 1.505 MB / 1.561 GB, free: 7.426 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005841/0.995, allocations: 302.1 kB / 1.562 GB, free: 7.129 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006326/1.001, allocations: 5.145 MB / 1.567 GB, free: 1.91 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/1.001, allocations: 16 kB / 1.567 GB, free: 1.895 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.926e-05/1.001, allocations: 24 kB / 1.567 GB, free: 1.871 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/1.001, allocations: 11.95 kB / 1.567 GB, free: 1.859 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/1.014, allocations: 9.084 MB / 1.576 GB, free: 8.574 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.014, allocations: 8 kB / 1.576 GB, free: 8.566 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/1.015, allocations: 215.6 kB / 1.576 GB, free: 8.355 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003468/1.018, allocations: 1.838 MB / 1.578 GB, free: 6.461 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/1.018, allocations: 44 kB / 1.578 GB, free: 6.418 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02418/1.042, allocations: 35.3 MB / 1.612 GB, free: 1.043 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.042, allocations: 8 kB / 1.612 GB, free: 1.035 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006192/1.049, allocations: 4.856 MB / 1.617 GB, free: 12.02 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/1.05, allocations: 0.5527 MB / 1.617 GB, free: 11.46 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/1.05, allocations: 51.92 kB / 1.617 GB, free: 11.41 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008644/1.051, allocations: 127.8 kB / 1.618 GB, free: 11.29 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005488/1.052, allocations: 201.5 kB / 1.618 GB, free: 11.09 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.449e-05/1.052, allocations: 63.98 kB / 1.618 GB, free: 11.03 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.001669/1.053, allocations: 1.371 MB / 1.619 GB, free: 9.648 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.6e-07/1.053, allocations: 0 / 1.619 GB, free: 9.648 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.002925/1.056, allocations: 1.047 MB / 1.62 GB, free: 8.602 MB / 1.307 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006071/1.062, allocations: 5.474 MB / 1.625 GB, free: 2.957 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.006712/1.069, allocations: 6.022 MB / 1.631 GB, free: 12.71 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.069, allocations: 0 / 1.631 GB, free: 12.71 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.004465/1.074, allocations: 4.281 MB / 1.636 GB, free: 8.195 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/1.077, allocations: 1 MB / 1.637 GB, free: 7.227 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04624/1.123, allocations: 30.74 MB / 1.667 GB, free: 7.434 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00335/1.126, allocations: 2.58 MB / 1.669 GB, free: 4.82 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.001716/1.128, allocations: 0.5276 MB / 1.67 GB, free: 4.289 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/1.13, allocations: 1.667 MB / 1.671 GB, free: 2.621 MB / 1.354 GB Notification: Performance of SimCode: time 1.362e-06/1.13, allocations: 0 / 1.671 GB, free: 2.621 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8547/1.984, allocations: 94.5 MB / 1.763 GB, free: 325.2 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.644/11.63, allocations: 10.62 kB / 1.763 GB, free: 325.2 MB / 1.401 GB " [Timeout remaining time 288] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.65750147216022]